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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9363/0.9363, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7417/0.7417, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.512e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.45/0.45, allocations: 149.5 MB / 0.764 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006148/0.4561, allocations: 6.538 MB / 0.7704 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.4568, allocations: 15.94 kB / 0.7704 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.4574, allocations: 182 kB / 0.7706 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.4607, allocations: 1.319 MB / 0.7719 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.4623, allocations: 0.7262 MB / 0.7726 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.4633, allocations: 0.7499 MB / 0.7733 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.4637, allocations: 234 kB / 0.7735 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.4653, allocations: 0.8459 MB / 0.7744 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008161/0.4661, allocations: 417 kB / 0.7748 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.4662, allocations: 26.72 kB / 0.7748 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.4682, allocations: 1.051 MB / 0.7758 GB, free: 268 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.4683, allocations: 124.9 kB / 0.7759 GB, free: 208 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.4685, allocations: 122.6 kB / 0.7761 GB, free: 160 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.4702, allocations: 0.9255 MB / 0.777 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4702, allocations: 1.438 kB / 0.777 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4702, allocations: 0 / 0.777 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4702, allocations: 0 / 0.777 GB, free: 15.85 MB / 0.6511 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.0009002/0.4711, allocations: 0.6354 MB / 0.7776 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4711, allocations: 11.53 kB / 0.7776 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.4712, allocations: 63.83 kB / 0.7777 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.4718, allocations: 127.1 kB / 0.7778 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.4723, allocations: 278.7 kB / 0.778 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.4723, allocations: 73.41 kB / 0.7781 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.4724, allocations: 26.25 kB / 0.7781 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.4729, allocations: 396.5 kB / 0.7785 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4729, allocations: 0 / 0.7785 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.4729, allocations: 11.38 kB / 0.7785 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4729, allocations: 6.75 kB / 0.7785 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.4733, allocations: 278.2 kB / 0.7788 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.4745, allocations: 1.146 MB / 0.7799 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.4748, allocations: 186.7 kB / 0.7801 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.475, allocations: 110.3 kB / 0.7802 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004474/0.4754, allocations: 140.7 kB / 0.7803 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4754, allocations: 35.53 kB / 0.7804 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.4754, allocations: 0 / 0.7804 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006484/0.4761, allocations: 364.2 kB / 0.7807 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.4761, allocations: 52.91 kB / 0.7808 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4764, allocations: 315.8 kB / 0.7811 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4764, allocations: 30.8 kB / 0.7811 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4765, allocations: 191.6 kB / 0.7813 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.4765, allocations: 54.81 kB / 0.7813 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.4766, allocations: 43.22 kB / 0.7814 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.4767, allocations: 339.3 kB / 0.7817 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4768, allocations: 82.61 kB / 0.7818 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.477, allocations: 224.7 kB / 0.782 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4773, allocations: 240.2 kB / 0.7822 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4773, allocations: 1.5 kB / 0.7822 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003954/0.4777, allocations: 289.4 kB / 0.7825 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4777, allocations: 5.75 kB / 0.7825 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4777, allocations: 6.344 kB / 0.7825 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4777, allocations: 1.438 kB / 0.7825 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.4779, allocations: 46.39 kB / 0.7826 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4779, allocations: 2.25 kB / 0.7826 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.478, allocations: 29.36 kB / 0.7826 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.478, allocations: 15.36 kB / 0.7826 GB, free: 12.31 MB / 0.6511 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.0001335/0.4782, allocations: 153.4 kB / 0.7827 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.4783, allocations: 34.75 kB / 0.7828 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.4788, allocations: 316.3 kB / 0.7831 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4788, allocations: 1.219 kB / 0.7831 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4788, allocations: 1.125 kB / 0.7831 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4788, allocations: 3.938 kB / 0.7831 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009549/0.4797, allocations: 0.7549 MB / 0.7838 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4797, allocations: 1.562 kB / 0.7838 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.4798, allocations: 35.95 kB / 0.7839 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4798, allocations: 2.5 kB / 0.7839 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4798, allocations: 9.469 kB / 0.7839 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4798, allocations: 7.438 kB / 0.7839 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4798, allocations: 6.375 kB / 0.7839 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.4802, allocations: 398.8 kB / 0.7843 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.4803, allocations: 61.09 kB / 0.7843 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4804, allocations: 7.188 kB / 0.7843 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4805, allocations: 12.56 kB / 0.7843 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.4805, allocations: 26.27 kB / 0.7844 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4806, allocations: 13.78 kB / 0.7844 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001687/0.4807, allocations: 225.1 kB / 0.7846 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4807, allocations: 0 / 0.7846 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005084/0.4812, allocations: 123.9 kB / 0.7847 GB, free: 11.07 MB / 0.6511 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.001255/0.4825, allocations: 1.053 MB / 0.7857 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.4829, allocations: 214.8 kB / 0.7859 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4829, allocations: 0 / 0.7859 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.483, allocations: 109.3 kB / 0.786 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.4836, allocations: 163.8 kB / 0.7862 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.4867, allocations: 3.051 MB / 0.7892 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.4869, allocations: 186.7 kB / 0.7894 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.4871, allocations: 87.11 kB / 0.7894 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4873, allocations: 100.3 kB / 0.7895 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/0.4873, allocations: 0 / 0.7895 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.5155, allocations: 11.82 MB / 0.8011 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.376, allocations: 2.906 kB / 0.8011 GB, free: 3.363 MB / 0.6511 GB " [Timeout remaining time 653] (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 --stepSize=0.024 --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: 10.166775526478887] Failed to read output from testmodel.py, exit status != 0: 7.463899151422083 7.472844888 7.000776732 Calling exit ...