Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9737/0.9737, allocations: 175.7 MB / 480.1 MB, free: 2.715 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.86 kB / 0.6677 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 94.52 MB / 0.7601 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5035/0.6585, allocations: 174.2 MB / 0.9302 GB, free: 4.719 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.6616, allocations: 1.858 MB / 0.932 GB, free: 3.207 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.662, allocations: 13.66 kB / 0.932 GB, free: 3.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.6627, allocations: 232.1 kB / 0.9322 GB, free: 3.008 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.6644, allocations: 0.7785 MB / 0.933 GB, free: 2.414 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.6661, allocations: 0.8581 MB / 0.9338 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.6669, allocations: 0.8457 MB / 0.9346 GB, free: 1.301 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.6673, allocations: 239 kB / 0.9349 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.6683, allocations: 0.5819 MB / 0.9354 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.6686, allocations: 279.1 kB / 0.9357 GB, free: 0.625 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.6686, allocations: 25.25 kB / 0.9357 GB, free: 0.625 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.6702, allocations: 1.162 MB / 0.9368 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.6704, allocations: 132.9 kB / 0.937 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.6706, allocations: 202.5 kB / 0.9372 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.6717, allocations: 0.9188 MB / 0.9381 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6717, allocations: 0 / 0.9381 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6717, allocations: 0 / 0.9381 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6717, allocations: 0 / 0.9381 GB, free: 15.2 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001581/0.6733, allocations: 0.7856 MB / 0.9388 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.6733, allocations: 9.531 kB / 0.9388 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.6734, allocations: 68.47 kB / 0.9389 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.6743, allocations: 166.1 kB / 0.9391 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.6748, allocations: 365.1 kB / 0.9394 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.6749, allocations: 23.42 kB / 0.9394 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.6749, allocations: 33.92 kB / 0.9395 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.6755, allocations: 394.5 kB / 0.9398 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6755, allocations: 0 / 0.9398 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.6756, allocations: 14.66 kB / 0.9399 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.6756, allocations: 17.25 kB / 0.9399 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.6763, allocations: 342.4 kB / 0.9402 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.6782, allocations: 1.784 MB / 0.9419 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.6787, allocations: 377.6 kB / 0.9423 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.6789, allocations: 131.1 kB / 0.9424 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/0.6794, allocations: 306.5 kB / 0.9427 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6795, allocations: 37 kB / 0.9428 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.6795, allocations: 0 / 0.9428 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.0008842/0.6804, allocations: 391.3 kB / 0.9431 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.6804, allocations: 54 kB / 0.9432 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.6807, allocations: 354.4 kB / 0.9435 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.6808, allocations: 29.7 kB / 0.9435 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.6809, allocations: 196.5 kB / 0.9437 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.681, allocations: 71.2 kB / 0.9438 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.6811, allocations: 54.03 kB / 0.9439 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6812, allocations: 346.3 kB / 0.9442 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.6814, allocations: 93.64 kB / 0.9443 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.6816, allocations: 156.3 kB / 0.9444 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.6821, allocations: 252.6 kB / 0.9447 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6821, allocations: 0 / 0.9447 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005323/0.6826, allocations: 312.5 kB / 0.945 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6826, allocations: 4.844 kB / 0.945 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6826, allocations: 2.938 kB / 0.945 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6826, allocations: 1.812 kB / 0.945 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.6829, allocations: 47.45 kB / 0.945 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.6829, allocations: 7.219 kB / 0.945 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.6831, allocations: 36.14 kB / 0.9451 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.6831, allocations: 11.94 kB / 0.9451 GB, free: 9.566 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.6833, allocations: 158.1 kB / 0.9452 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.6833, allocations: 37.14 kB / 0.9453 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.6839, allocations: 307.1 kB / 0.9455 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6839, allocations: 2.781 kB / 0.9456 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6839, allocations: 4.047 kB / 0.9456 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6839, allocations: 3.984 kB / 0.9456 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.6852, allocations: 0.8995 MB / 0.9464 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6852, allocations: 3.094 kB / 0.9464 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.6854, allocations: 46.25 kB / 0.9465 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6854, allocations: 5.281 kB / 0.9465 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6854, allocations: 7.062 kB / 0.9465 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6854, allocations: 9 kB / 0.9465 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6854, allocations: 5.781 kB / 0.9465 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.686, allocations: 445 kB / 0.9469 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6861, allocations: 137.2 kB / 0.9471 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.6861, allocations: 5.406 kB / 0.9471 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.6863, allocations: 18.89 kB / 0.9471 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.6864, allocations: 24.08 kB / 0.9471 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.6864, allocations: 11.27 kB / 0.9471 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002485/0.6867, allocations: 258.5 kB / 0.9474 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.6867, allocations: 0 / 0.9474 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003738/0.687, allocations: 101.7 kB / 0.9475 GB, free: 7.766 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.6881, allocations: 1.048 MB / 0.9485 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.6886, allocations: 228.3 kB / 0.9487 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6886, allocations: 6.844 kB / 0.9487 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.6888, allocations: 122.7 kB / 0.9488 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/0.6898, allocations: 212.2 kB / 0.949 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.6936, allocations: 3.303 MB / 0.9523 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.6939, allocations: 0.8039 MB / 0.953 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000241/0.6942, allocations: 95.33 kB / 0.9531 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.6944, allocations: 115.6 kB / 0.9532 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of SimCode: time 3.5e-07/0.6944, allocations: 0 / 0.9532 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.7282, allocations: 10.88 MB / 0.9639 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.358, allocations: 3.938 kB / 0.9639 GB, free: 8.539 MB / 0.7012 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.772694583996781]