Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001359/0.001359, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001244/0.001244, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.362/1.362, allocations: 222.9 MB / 245 MB, free: 15.03 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.8273/0.8273, allocations: 132.2 MB / 429.4 MB, free: 5.996 MB / 334.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.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.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 70.08 kB / 0.5894 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1613, allocations: 80.2 MB / 0.6677 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5288/0.6902, allocations: 161.4 MB / 0.8253 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005956/0.6962, allocations: 4.543 MB / 0.8297 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.6967, allocations: 8.938 kB / 0.8297 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.6972, allocations: 129.8 kB / 0.8299 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000977/0.6982, allocations: 327.6 kB / 0.8302 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.6991, allocations: 281.9 kB / 0.8304 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.6998, allocations: 0.5587 MB / 0.831 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.7002, allocations: 200.2 kB / 0.8312 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.7013, allocations: 455.2 kB / 0.8316 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.7016, allocations: 188.7 kB / 0.8318 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.7017, allocations: 15.5 kB / 0.8318 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.7019, allocations: 83.11 kB / 0.8319 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.702, allocations: 89.53 kB / 0.832 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.7021, allocations: 123.3 kB / 0.8321 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.7026, allocations: 309.3 kB / 0.8324 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7026, allocations: 0 / 0.8324 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7026, allocations: 4 kB / 0.8324 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.7026, allocations: 2.906 kB / 0.8324 GB, free: 4.887 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008755/0.7035, allocations: 0.5461 MB / 0.8329 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7036, allocations: 8 kB / 0.8329 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.611e-05/0.7036, allocations: 54.55 kB / 0.833 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.7037, allocations: 28.48 kB / 0.833 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.7041, allocations: 296.8 kB / 0.8333 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.7042, allocations: 15.44 kB / 0.8333 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.7042, allocations: 22.84 kB / 0.8333 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.7047, allocations: 259.8 kB / 0.8336 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.7047, allocations: 6.719 kB / 0.8336 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.7047, allocations: 6.688 kB / 0.8336 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7047, allocations: 5.094 kB / 0.8336 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.7051, allocations: 161.6 kB / 0.8337 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.7065, allocations: 1.357 MB / 0.8351 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.7068, allocations: 180.7 kB / 0.8352 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.707, allocations: 104.2 kB / 0.8353 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.7074, allocations: 116 kB / 0.8355 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.7074, allocations: 36.78 kB / 0.8355 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7074, allocations: 0 / 0.8355 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006004/0.7081, allocations: 213.6 kB / 0.8357 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.7082, allocations: 183.9 kB / 0.8359 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.7085, allocations: 289.8 kB / 0.8361 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.7085, allocations: 28.33 kB / 0.8362 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.7086, allocations: 152.1 kB / 0.8363 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.7087, allocations: 41.08 kB / 0.8364 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.7088, allocations: 38.44 kB / 0.8364 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7089, allocations: 335.8 kB / 0.8367 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.7091, allocations: 48.31 kB / 0.8368 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.7093, allocations: 113.7 kB / 0.8369 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.7095, allocations: 157 kB / 0.837 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7096, allocations: 0 / 0.837 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003648/0.7099, allocations: 194.8 kB / 0.8372 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.71, allocations: 7.344 kB / 0.8372 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.71, allocations: 3.938 kB / 0.8372 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.71, allocations: 2.719 kB / 0.8372 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.7101, allocations: 29.17 kB / 0.8372 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.7101, allocations: 6.344 kB / 0.8373 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.7103, allocations: 30.8 kB / 0.8373 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.7103, allocations: 7.344 kB / 0.8373 GB, free: 500 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001324/0.7105, allocations: 147.6 kB / 0.8374 GB, free: 360 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.7106, allocations: 32.64 kB / 0.8375 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.7109, allocations: 123.1 kB / 0.8376 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.711, allocations: 10.34 kB / 0.8376 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.711, allocations: 2.594 kB / 0.8376 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.711, allocations: 10.69 kB / 0.8376 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.7119, allocations: 0.7667 MB / 0.8383 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.7119, allocations: 2.562 kB / 0.8383 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.712, allocations: 25.8 kB / 0.8384 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7121, allocations: 6.062 kB / 0.8384 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7121, allocations: 2.938 kB / 0.8384 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.7121, allocations: 0 / 0.8384 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7121, allocations: 1.781 kB / 0.8384 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.7126, allocations: 350.3 kB / 0.8387 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.7128, allocations: 106.3 kB / 0.8388 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.7128, allocations: 10.8 kB / 0.8388 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.7129, allocations: 4.719 kB / 0.8388 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.713, allocations: 17.33 kB / 0.8389 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.713, allocations: 9.062 kB / 0.8389 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002003/0.7132, allocations: 211.4 kB / 0.8391 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7132, allocations: 0 / 0.8391 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000317/0.7136, allocations: 51.28 kB / 0.8391 GB, free: 14.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0011/0.7147, allocations: 0.9152 MB / 0.84 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.715, allocations: 123.4 kB / 0.8401 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.715, allocations: 0 / 0.8401 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.7152, allocations: 69.73 kB / 0.8402 GB, free: 14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.7159, allocations: 127.6 kB / 0.8403 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.7191, allocations: 2.6 MB / 0.8428 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.7195, allocations: 0.7576 MB / 0.8436 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.7197, allocations: 52.14 kB / 0.8436 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.7198, allocations: 68.38 kB / 0.8437 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.7198, allocations: 3.938 kB / 0.8437 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.7516, allocations: 6.853 MB / 0.8504 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/9.017, allocations: 9.812 kB / 0.8504 GB, free: 7.672 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.422666217200458] Failed to read output from testmodel.py, exit status != 0: 9.092298100003973 9.107145286 8.401976579 Calling exit ...