Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.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.001302/0.001302, allocations: 80.81 kB / 20.8 MB, free: 3.656 MB / 18.57 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.001605/0.001605, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.9998/0.9998, allocations: 177.1 MB / 204.7 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0807/0.0807, allocations: 12.75 MB / 273.9 MB, free: 15.95 MB / 266.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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: translateModel(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG") translateModel(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 294.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.615e-05, allocations: 2.312 kB / 294.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.004842/0.004868, allocations: 4.877 MB / 299.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.007405, allocations: 1.244 MB / 301 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.007718, allocations: 20.84 kB / 301 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.008394, allocations: 205.6 kB / 301.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.008902, allocations: 289.8 kB / 301.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.009286, allocations: 190.6 kB / 301.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007167/0.01, allocations: 0.8963 MB / 302.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.01024, allocations: 130.8 kB / 302.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.01079, allocations: 454.2 kB / 303.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.0112, allocations: 301.5 kB / 303.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.01128, allocations: 55.72 kB / 303.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.01171, allocations: 244.3 kB / 303.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.01187, allocations: 221 kB / 304 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.01209, allocations: 252.3 kB / 304.2 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.01278, allocations: 0.6575 MB / 304.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01278, allocations: 0 / 304.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01278, allocations: 0 / 304.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.01279, allocations: 0 / 304.9 MB, free: 5.766 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.0008984/0.01369, allocations: 0.8621 MB / 305.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01373, allocations: 12.36 kB / 305.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.01383, allocations: 82.78 kB / 305.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.01428, allocations: 398.8 kB / 306.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.01439, allocations: 298.4 kB / 306.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.01444, allocations: 45.72 kB / 306.5 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.01482, allocations: 472.6 kB / 307 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.01484, allocations: 3.062 kB / 307 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01486, allocations: 23 kB / 307 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.01487, allocations: 9.844 kB / 307 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.01509, allocations: 177.9 kB / 307.2 MB, free: 4.012 MB / 266.7 MB 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.00126/0.01635, allocations: 0.8036 MB / 308 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.01703, allocations: 426.3 kB / 308.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.01731, allocations: 225.3 kB / 308.7 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.01734, allocations: 15.98 kB / 308.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.01737, allocations: 34.56 kB / 308.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.496e-06/0.01737, allocations: 0 / 308.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003424/0.01771, allocations: 264.8 kB / 309 MB, free: 2.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.01774, allocations: 55.41 kB / 309 MB, free: 2.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.01795, allocations: 411.1 kB / 309.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.01797, allocations: 33.7 kB / 309.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.01804, allocations: 241.7 kB / 309.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.01809, allocations: 134.8 kB / 309.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.01816, allocations: 74.16 kB / 309.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.01821, allocations: 362.7 kB / 310.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.01829, allocations: 59.78 kB / 310.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.01838, allocations: 135.5 kB / 310.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.01856, allocations: 225.2 kB / 310.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01857, allocations: 0 / 310.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002331/0.0188, allocations: 252 kB / 310.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01882, allocations: 4 kB / 310.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.01883, allocations: 4.625 kB / 310.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01884, allocations: 0 / 310.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.01942, allocations: 227.9 kB / 311.1 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01943, allocations: 4.703 kB / 311.1 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.01961, allocations: 43.72 kB / 311.2 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01963, allocations: 23.92 kB / 311.2 MB, free: 256 kB / 266.7 MB 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 (48): * Single equations (assignments): 48 * 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 9.659e-05/0.01972, allocations: 136.5 kB / 311.3 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.01977, allocations: 43.94 kB / 311.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.02009, allocations: 246.2 kB / 311.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.02009, allocations: 7.984 kB / 311.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.02009, allocations: 0 / 311.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.0201, allocations: 4 kB / 311.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.02081, allocations: 0.6088 MB / 312.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.02081, allocations: 3.984 kB / 312.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.02137, allocations: 195.7 kB / 312.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02137, allocations: 4 kB / 312.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.02139, allocations: 15.92 kB / 312.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.0214, allocations: 4 kB / 312.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0214, allocations: 3.938 kB / 312.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.02182, allocations: 464.1 kB / 312.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.02187, allocations: 51.64 kB / 313 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.02191, allocations: 7.938 kB / 313 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.02205, allocations: 19.98 kB / 313 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.0221, allocations: 23.95 kB / 313 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02212, allocations: 19.92 kB / 313 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.02227, allocations: 188.7 kB / 313.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02227, allocations: 4 kB / 313.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004694/0.02274, allocations: 183.7 kB / 313.4 MB, free: 13.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pulmonaryVeinsAndLeftAtrium.volume,pulmonaryArteries.volume,arteries.volume,veins.volume,rightAtrium.volume) * 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 (36): * Single equations (assignments): 36 * 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.00021/0.02295, allocations: 112.3 kB / 313.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.02323, allocations: 197.3 kB / 313.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.02324, allocations: 4 kB / 313.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.02335, allocations: 117 kB / 313.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.0237, allocations: 131.2 kB / 314 MB, free: 13.43 MB / 282.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.02544, allocations: 1.183 MB / 315.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.02556, allocations: 153.7 kB / 315.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.02578, allocations: 71.23 kB / 315.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.02603, allocations: 169.2 kB / 315.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02603, allocations: 0 / 315.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01081/0.03685, allocations: 8.005 MB / 323.5 MB, free: 3.977 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.sim & ./Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0013637179508805]