Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.001161/0.001161, allocations: 108.2 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.001136/0.001136, allocations: 186.7 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.9842/0.9842, allocations: 175.7 MB / 480.1 MB, free: 2.75 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.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 72.45 kB / 0.6678 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1552, allocations: 94.53 MB / 0.7601 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4979/0.6531, allocations: 170.2 MB / 0.9263 GB, free: 7.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00838/0.6615, allocations: 7.219 MB / 0.9334 GB, free: 2.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.6618, allocations: 15.56 kB / 0.9334 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.6624, allocations: 170.9 kB / 0.9335 GB, free: 1.953 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.6653, allocations: 1.301 MB / 0.9348 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.6667, allocations: 0.6395 MB / 0.9354 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.6674, allocations: 0.7505 MB / 0.9362 GB, free: 96 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.6678, allocations: 242.8 kB / 0.9364 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.669, allocations: 0.7363 MB / 0.9371 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.6698, allocations: 439.6 kB / 0.9375 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.6698, allocations: 25.16 kB / 0.9376 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.6717, allocations: 1.328 MB / 0.9389 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.6718, allocations: 115 kB / 0.939 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.672, allocations: 177.5 kB / 0.9391 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.6732, allocations: 0.9002 MB / 0.94 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6732, allocations: 3.938 kB / 0.94 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6732, allocations: 2.719 kB / 0.94 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.6732, allocations: 0 / 0.94 GB, free: 13.7 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009601/0.6742, allocations: 0.7015 MB / 0.9407 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6742, allocations: 7.656 kB / 0.9407 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.763e-05/0.6743, allocations: 68.19 kB / 0.9408 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.6752, allocations: 137.8 kB / 0.9409 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.6757, allocations: 338.8 kB / 0.9412 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.6758, allocations: 50.55 kB / 0.9413 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.6758, allocations: 25.41 kB / 0.9413 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.6764, allocations: 371.2 kB / 0.9417 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.6764, allocations: 0 / 0.9417 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.6764, allocations: 10.72 kB / 0.9417 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.6764, allocations: 10.91 kB / 0.9417 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.6769, allocations: 270.2 kB / 0.9419 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.6787, allocations: 1.502 MB / 0.9434 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.6791, allocations: 186.3 kB / 0.9436 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.6793, allocations: 116.4 kB / 0.9437 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/0.6802, allocations: 0.4978 MB / 0.9442 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.6802, allocations: 37.09 kB / 0.9442 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.6802, allocations: 0 / 0.9442 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0008396/0.681, allocations: 364.4 kB / 0.9446 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6811, allocations: 57.97 kB / 0.9446 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.6814, allocations: 314.1 kB / 0.9449 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.6814, allocations: 29.7 kB / 0.9449 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.6815, allocations: 181.7 kB / 0.9451 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.6816, allocations: 63.05 kB / 0.9452 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.6817, allocations: 45.25 kB / 0.9452 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6818, allocations: 342.2 kB / 0.9455 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.682, allocations: 85.64 kB / 0.9456 GB, free: 9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.6822, allocations: 145.6 kB / 0.9458 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.6826, allocations: 242.8 kB / 0.946 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6826, allocations: 3.125 kB / 0.946 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005402/0.6831, allocations: 277.3 kB / 0.9463 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6831, allocations: 9.062 kB / 0.9463 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6832, allocations: 3.938 kB / 0.9463 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6832, allocations: 8.719 kB / 0.9463 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.6834, allocations: 46.73 kB / 0.9463 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6834, allocations: 2.812 kB / 0.9463 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6836, allocations: 27.45 kB / 0.9464 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.6836, allocations: 16.23 kB / 0.9464 GB, free: 8.543 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 (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 prepare postOptimizeDAE: time 0.0001521/0.6837, allocations: 158 kB / 0.9465 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.6838, allocations: 28.69 kB / 0.9466 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.6845, allocations: 311.5 kB / 0.9469 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6845, allocations: 6.625 kB / 0.9469 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.6845, allocations: 0 / 0.9469 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6845, allocations: 0 / 0.9469 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6857, allocations: 0.8083 MB / 0.9476 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6857, allocations: 0 / 0.9476 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.6859, allocations: 43.75 kB / 0.9477 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6859, allocations: 6.656 kB / 0.9477 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6859, allocations: 9.188 kB / 0.9477 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6859, allocations: 5.875 kB / 0.9477 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6859, allocations: 2.719 kB / 0.9477 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.6864, allocations: 401.7 kB / 0.9481 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.6866, allocations: 145.1 kB / 0.9482 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.6866, allocations: 6.781 kB / 0.9482 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.6869, allocations: 11.39 kB / 0.9483 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.6869, allocations: 23.67 kB / 0.9483 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.6869, allocations: 7.938 kB / 0.9483 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001897/0.6871, allocations: 226.8 kB / 0.9485 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.6871, allocations: 0 / 0.9485 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004356/0.6876, allocations: 119.4 kB / 0.9486 GB, free: 6.875 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (16): * Single equations (assignments): 16 * 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.001236/0.6888, allocations: 1.067 MB / 0.9497 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.6893, allocations: 214.4 kB / 0.9499 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6893, allocations: 0 / 0.9499 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.6895, allocations: 113.6 kB / 0.95 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.6902, allocations: 159.2 kB / 0.9501 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.6939, allocations: 3.055 MB / 0.9531 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.6943, allocations: 0.7854 MB / 0.9539 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.6945, allocations: 87.67 kB / 0.954 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.6947, allocations: 99.41 kB / 0.954 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/0.6947, allocations: 4 kB / 0.9541 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.7298, allocations: 10.56 MB / 0.9644 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.37, allocations: 10.19 kB / 0.9644 GB, free: 8.094 MB / 0.7012 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.77806105799391]