Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002892/0.0002892, allocations: 0 / 0, free: 0 / 0 " [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.0002316/0.0002316, allocations: 0 / 0, free: 0 / 0 " [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.1523/0.1523, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.0109/0.0109, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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: simulate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,startTime=0,stopTime=1.01,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,startTime=0,stopTime=1.01,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.36e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.01556/0.01558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02454/0.04012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.04035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009695/0.04132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007937/0.04211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.02106/0.06317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001065/0.06424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.06435, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.itt was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.ittt was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rdd was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rtt was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rtd was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rttt was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rttd was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rtdd was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/EoS/setHelmholtzDerivsFirst.mo:7:3-7:27:writable] Warning: Output parameter f.rddd was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.07004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.07033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.07036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.08046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.08059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.08078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005736/0.08652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.648e-05/0.08658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.573e-06/0.08658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.955e-06/0.08659, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001456/0.08805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.08811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.08834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.08859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.08863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.08868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.08914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.08916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.08919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.0892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.08943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.09032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.0906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 6.658e-05/0.09066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.03635/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=78): time 4.488e-06/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=83): time 0.002297/0.1293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.1294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.1296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.1296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.1297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.84e-05/0.1298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.1298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.1299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003765/0.1305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.1309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007849/0.1319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1321, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.1329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002845/0.1332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003003/0.1335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008411/0.1344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/0.1348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.1348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003175/0.1351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.1356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.1356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.1357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.1359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.739e-05/0.136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.969e-06/0.136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001767/0.1378, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse1.phase,$cse2.phase,$cse3.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/0.1396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005521/0.1402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.1402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.1412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.1421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 8.514e-05/0.1422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001711/0.1424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.1428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.147e-05/0.1428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.007214/0.15, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 898] [Calling sys.exit(0), Time elapsed: 2.427212279289961]