Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00137/0.00137, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001496/0.001496, allocations: 214.1 kB / 23.03 MB, free: 4.926 MB / 14.72 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 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8466/0.8466, allocations: 134 MB / 447.2 MB, free: 9.91 MB / 350.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/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_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.58 kB / 0.6193 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, allocations: 85.91 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5445/0.7111, allocations: 149.4 MB / 0.849 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009294/0.7204, allocations: 6.54 MB / 0.8554 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.7208, allocations: 23.81 kB / 0.8555 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.7215, allocations: 174.7 kB / 0.8556 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.7249, allocations: 1.295 MB / 0.8569 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.7267, allocations: 0.6702 MB / 0.8575 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.7279, allocations: 0.7719 MB / 0.8583 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.7283, allocations: 246 kB / 0.8585 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.7296, allocations: 0.5838 MB / 0.8591 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009087/0.7305, allocations: 462.4 kB / 0.8595 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.678e-05/0.7305, allocations: 28 kB / 0.8596 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.7327, allocations: 1.063 MB / 0.8606 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.7328, allocations: 119.6 kB / 0.8607 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.733, allocations: 143.3 kB / 0.8609 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.7347, allocations: 0.8869 MB / 0.8617 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7347, allocations: 0 / 0.8617 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7347, allocations: 0 / 0.8617 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.7347, allocations: 0 / 0.8617 GB, free: 0.9844 MB / 0.6231 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.001122/0.7358, allocations: 0.6329 MB / 0.8623 GB, free: 328 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7358, allocations: 12.03 kB / 0.8624 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.278e-05/0.7359, allocations: 8.594 kB / 0.8624 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.7359, allocations: 62.55 kB / 0.8624 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.737, allocations: 127.6 kB / 0.8625 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.7376, allocations: 275.6 kB / 0.8628 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-05/0.7377, allocations: 72.06 kB / 0.8629 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.7377, allocations: 28 kB / 0.8629 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.7385, allocations: 404.8 kB / 0.8633 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.7385, allocations: 0 / 0.8633 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.7385, allocations: 19.88 kB / 0.8633 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.7386, allocations: 11.98 kB / 0.8633 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.7391, allocations: 265.8 kB / 0.8636 GB, free: 14.99 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.7412, allocations: 1.144 MB / 0.8647 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.7416, allocations: 182.6 kB / 0.8649 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.7418, allocations: 104.8 kB / 0.865 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008441/0.7427, allocations: 143.8 kB / 0.8651 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.7427, allocations: 30.56 kB / 0.8651 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.7427, allocations: 0 / 0.8651 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.001018/0.7437, allocations: 365.9 kB / 0.8655 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.7438, allocations: 51.41 kB / 0.8655 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.7441, allocations: 312.5 kB / 0.8658 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.7442, allocations: 33.7 kB / 0.8659 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.7443, allocations: 184.4 kB / 0.866 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.7444, allocations: 55.53 kB / 0.8661 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.7445, allocations: 45.66 kB / 0.8661 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7446, allocations: 346.8 kB / 0.8665 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.7448, allocations: 83.92 kB / 0.8665 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.7451, allocations: 229.2 kB / 0.8668 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.7456, allocations: 237.8 kB / 0.867 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.7456, allocations: 0 / 0.867 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006165/0.7462, allocations: 285.2 kB / 0.8673 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7462, allocations: 4 kB / 0.8673 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.7462, allocations: 4 kB / 0.8673 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.7463, allocations: 192 / 0.8673 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.7465, allocations: 47.97 kB / 0.8673 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.7465, allocations: 7.938 kB / 0.8673 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.7467, allocations: 31.77 kB / 0.8673 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.7468, allocations: 12 kB / 0.8674 GB, free: 10.91 MB / 0.6387 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.0001894/0.747, allocations: 149.8 kB / 0.8675 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7471, allocations: 30.75 kB / 0.8675 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.7479, allocations: 320 kB / 0.8678 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7479, allocations: 3.938 kB / 0.8678 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.7479, allocations: 3.984 kB / 0.8678 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7479, allocations: 0 / 0.8678 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.7493, allocations: 0.7529 MB / 0.8686 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7493, allocations: 7.938 kB / 0.8686 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.7495, allocations: 32.03 kB / 0.8686 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.7495, allocations: 3.984 kB / 0.8686 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.7496, allocations: 11.98 kB / 0.8686 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.7496, allocations: 7.938 kB / 0.8686 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7496, allocations: 4 kB / 0.8686 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.7503, allocations: 401.3 kB / 0.869 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.7504, allocations: 63.66 kB / 0.8691 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.7505, allocations: 8 kB / 0.8691 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.7507, allocations: 11.98 kB / 0.8691 GB, free: 9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.7508, allocations: 15.97 kB / 0.8691 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.7508, allocations: 8.562 kB / 0.8691 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00027/0.7511, allocations: 227 kB / 0.8693 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7511, allocations: 4 kB / 0.8694 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005719/0.7516, allocations: 123.8 kB / 0.8695 GB, free: 8.633 MB / 0.6387 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.001418/0.7531, allocations: 1.049 MB / 0.8705 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.7536, allocations: 214 kB / 0.8707 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7536, allocations: 4 kB / 0.8707 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.7538, allocations: 120.4 kB / 0.8708 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008652/0.7547, allocations: 161.6 kB / 0.871 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.7593, allocations: 3.052 MB / 0.874 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.7595, allocations: 181.1 kB / 0.8741 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003438/0.7599, allocations: 82.86 kB / 0.8742 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.7601, allocations: 99.41 kB / 0.8743 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.7601, allocations: 0 / 0.8743 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.7949, allocations: 11.33 MB / 0.8854 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.48, allocations: 4.062 kB / 0.8854 GB, free: 8.445 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.107784118968993] Failed to read output from testmodel.py, exit status != 0: 12.651698172092438 12.679693247 11.939873106 Calling exit ...