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.001312/0.001312, allocations: 110.2 kB / 16.45 MB, free: 6.504 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.001299/0.001299, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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 1.076/1.076, allocations: 175.8 MB / 478.4 MB, free: 8.496 MB / 382.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.001959/0.001959, allocations: 60.19 kB / 0.6652 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1949, allocations: 94.54 MB / 0.7575 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.656/0.8509, allocations: 174 MB / 0.9274 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.8544, allocations: 1.843 MB / 0.9292 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.8548, allocations: 15.94 kB / 0.9292 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.8556, allocations: 226.5 kB / 0.9294 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.8576, allocations: 0.7778 MB / 0.9302 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.8598, allocations: 0.8536 MB / 0.931 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.8611, allocations: 0.8531 MB / 0.9318 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004672/0.8616, allocations: 247 kB / 0.9321 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.8629, allocations: 0.5761 MB / 0.9326 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.8633, allocations: 282.8 kB / 0.9329 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.8633, allocations: 28 kB / 0.9329 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.8656, allocations: 1.165 MB / 0.9341 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.8658, allocations: 123.6 kB / 0.9342 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.866, allocations: 195 kB / 0.9344 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.8676, allocations: 0.9248 MB / 0.9353 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8676, allocations: 0 / 0.9353 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8676, allocations: 0 / 0.9353 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8676, allocations: 0 / 0.9353 GB, free: 2.066 MB / 0.7169 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.001817/0.8694, allocations: 0.7975 MB / 0.9361 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8695, allocations: 8.031 kB / 0.9361 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.8696, allocations: 66.53 kB / 0.9361 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.8706, allocations: 159.6 kB / 0.9363 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.8713, allocations: 366.1 kB / 0.9366 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.8714, allocations: 24.55 kB / 0.9367 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.8714, allocations: 28 kB / 0.9367 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.8721, allocations: 398.1 kB / 0.9371 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.8721, allocations: 11.92 kB / 0.9371 GB, free: 112 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.8722, allocations: 8.812 kB / 0.9371 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.8722, allocations: 12.56 kB / 0.9371 GB, free: 92 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.8729, allocations: 350 kB / 0.9374 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.8753, allocations: 1.78 MB / 0.9392 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.8759, allocations: 372.9 kB / 0.9395 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.8761, allocations: 134.3 kB / 0.9397 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/0.8768, allocations: 307.2 kB / 0.9399 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.8768, allocations: 38.48 kB / 0.94 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.314e-06/0.8768, allocations: 0 / 0.94 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001045/0.8778, allocations: 394.9 kB / 0.9404 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.8779, allocations: 55.41 kB / 0.9404 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.8783, allocations: 353.7 kB / 0.9407 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.8784, allocations: 29.7 kB / 0.9408 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.8785, allocations: 192.4 kB / 0.941 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.8786, allocations: 79.31 kB / 0.941 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.8787, allocations: 45.7 kB / 0.9411 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.8789, allocations: 350.7 kB / 0.9414 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.8791, allocations: 91.94 kB / 0.9415 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.8794, allocations: 158.1 kB / 0.9417 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.8799, allocations: 252 kB / 0.9419 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.8799, allocations: 0 / 0.9419 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006451/0.8805, allocations: 309.1 kB / 0.9422 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.8806, allocations: 5.875 kB / 0.9422 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8806, allocations: 4 kB / 0.9422 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.8806, allocations: 4 kB / 0.9422 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.8809, allocations: 47.97 kB / 0.9422 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.8809, allocations: 3.938 kB / 0.9422 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.8812, allocations: 37.89 kB / 0.9423 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.8812, allocations: 15.92 kB / 0.9423 GB, free: 10.39 MB / 0.7325 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.0001954/0.8814, allocations: 157.8 kB / 0.9425 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.8815, allocations: 39.7 kB / 0.9425 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.8821, allocations: 300.9 kB / 0.9428 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8822, allocations: 4 kB / 0.9428 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8822, allocations: 0 / 0.9428 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8822, allocations: 7.938 kB / 0.9428 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.8837, allocations: 0.8935 MB / 0.9437 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8837, allocations: 48 / 0.9437 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.884, allocations: 53.08 kB / 0.9437 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.884, allocations: 4 kB / 0.9437 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.884, allocations: 4 kB / 0.9437 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.884, allocations: 12.27 kB / 0.9437 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.884, allocations: 8 kB / 0.9437 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.8847, allocations: 454.9 kB / 0.9442 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.8849, allocations: 132.9 kB / 0.9443 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.8849, allocations: 11.94 kB / 0.9443 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.8851, allocations: 15.98 kB / 0.9443 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.8852, allocations: 24.8 kB / 0.9443 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.8852, allocations: 8 kB / 0.9444 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003125/0.8855, allocations: 255.2 kB / 0.9446 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8855, allocations: 0 / 0.9446 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004836/0.886, allocations: 103.8 kB / 0.9447 GB, free: 7.766 MB / 0.7325 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.001214/0.8872, allocations: 1.05 MB / 0.9457 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.8878, allocations: 230.2 kB / 0.9459 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.8878, allocations: 4.375 kB / 0.9459 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.8881, allocations: 123.7 kB / 0.9461 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.8891, allocations: 225.4 kB / 0.9463 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.8937, allocations: 3.301 MB / 0.9495 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.8942, allocations: 0.7996 MB / 0.9503 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003497/0.8945, allocations: 93.09 kB / 0.9504 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.8947, allocations: 119.4 kB / 0.9505 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.8947, allocations: 0 / 0.9505 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.933, allocations: 10.87 MB / 0.9611 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.801/9.734, allocations: 0 / 0.9611 GB, free: 6.957 MB / 0.7481 GB " [Timeout remaining time 650] (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 --stepSize=0.0004 --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: 13.57662170380354] Failed to read output from testmodel.py, exit status != 0: 9.811553081031889 9.83638052 8.964029008 Calling exit ...