Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08097/0.08097, allocations: 15.28 MB / 30.53 MB, free: 3.195 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 189.2 kB / 35.62 MB, free: 2.25 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.7 MB / 266.3 MB, free: 6.09 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007539/0.0007539, allocations: 95.61 kB / 321.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1354/0.1354, allocations: 20.55 MB / 397.6 MB, free: 42.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005273, allocations: 16 kB / 469.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.368, allocations: 59.78 MB / 0.5168 GB, free: 40.86 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.MuscleHeat): time 0.02368/0.3918, allocations: 18.17 MB / 0.5346 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3928, allocations: 489.7 kB / 0.535 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.3931, allocations: 6.531 kB / 0.535 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.3933, allocations: 17.28 kB / 0.535 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3934, allocations: 51.58 kB / 0.5351 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.3936, allocations: 14.03 kB / 0.5351 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3938, allocations: 154.9 kB / 0.5353 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.394, allocations: 33.8 kB / 0.5353 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3941, allocations: 45.98 kB / 0.5353 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3942, allocations: 42.41 kB / 0.5354 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3943, allocations: 5.812 kB / 0.5354 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.381e-05/0.3943, allocations: 2.875 kB / 0.5354 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.3943, allocations: 16.88 kB / 0.5354 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.3944, allocations: 85.78 kB / 0.5355 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.3946, allocations: 114 kB / 0.5356 GB, free: 35.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3946, allocations: 3.938 kB / 0.5356 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3947, allocations: 4 kB / 0.5356 GB, free: 35.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3947, allocations: 0 / 0.5356 GB, free: 35.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005624/0.3952, allocations: 417.9 kB / 0.536 GB, free: 35.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3953, allocations: 10.28 kB / 0.536 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.3954, allocations: 18.61 kB / 0.536 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3957, allocations: 224.7 kB / 0.5362 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3957, allocations: 3.062 kB / 0.5362 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3957, allocations: 10.19 kB / 0.5362 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3959, allocations: 78.27 kB / 0.5363 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3959, allocations: 0 / 0.5363 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3959, allocations: 0 / 0.5363 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3959, allocations: 2.531 kB / 0.5363 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.396, allocations: 35.14 kB / 0.5364 GB, free: 34.7 MB / 378.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.0006277/0.3967, allocations: 491.1 kB / 0.5368 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3968, allocations: 59.12 kB / 0.5369 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.3968, allocations: 25.75 kB / 0.5369 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3969, allocations: 2.344 kB / 0.5369 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.3969, allocations: 30.56 kB / 0.5369 GB, free: 34.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3969, allocations: 0 / 0.5369 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002168/0.3971, allocations: 88.78 kB / 0.537 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.3972, allocations: 59.28 kB / 0.5371 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3973, allocations: 186.4 kB / 0.5373 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.3973, allocations: 28.52 kB / 0.5373 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.3974, allocations: 109.4 kB / 0.5374 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3974, allocations: 19.89 kB / 0.5374 GB, free: 33.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.3974, allocations: 7.938 kB / 0.5374 GB, free: 33.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.3975, allocations: 322.1 kB / 0.5377 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.3975, allocations: 18.91 kB / 0.5377 GB, free: 33.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.3976, allocations: 14.91 kB / 0.5378 GB, free: 33.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3978, allocations: 68.42 kB / 0.5378 GB, free: 33.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3979, allocations: 2.938 kB / 0.5378 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001089/0.398, allocations: 74.02 kB / 0.5379 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.398, allocations: 4.656 kB / 0.5379 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.398, allocations: 0 / 0.5379 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.398, allocations: 4 kB / 0.5379 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.3981, allocations: 10.95 kB / 0.5379 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3981, allocations: 4.688 kB / 0.5379 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.3982, allocations: 6.594 kB / 0.5379 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3982, allocations: 4 kB / 0.5379 GB, free: 33.3 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false start = muscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001469/0.3984, allocations: 117.7 kB / 0.538 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.3984, allocations: 16.53 kB / 0.5381 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.3984, allocations: 21.59 kB / 0.5381 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3985, allocations: 6.438 kB / 0.5381 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3985, allocations: 3.938 kB / 0.5381 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3985, allocations: 0.6094 kB / 0.5381 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3987, allocations: 210.3 kB / 0.5383 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3987, allocations: 0 / 0.5383 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.3988, allocations: 6.641 kB / 0.5383 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3988, allocations: 2.656 kB / 0.5383 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3988, allocations: 0.6562 kB / 0.5383 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3988, allocations: 4.125 kB / 0.5383 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3988, allocations: 11.92 kB / 0.5383 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.399, allocations: 183.2 kB / 0.5385 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.3991, allocations: 96.56 kB / 0.5386 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3991, allocations: 0.6562 kB / 0.5386 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.3992, allocations: 2.312 kB / 0.5386 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.3992, allocations: 5.203 kB / 0.5386 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3992, allocations: 2.594 kB / 0.5386 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3993, allocations: 131.2 kB / 0.5387 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3993, allocations: 4.062 kB / 0.5387 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.3996, allocations: 25.03 kB / 0.5387 GB, free: 32.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * 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 (5): * Single equations (assignments): 5 * 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 7.952e-05/0.3997, allocations: 102.9 kB / 0.5388 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3998, allocations: 39.19 kB / 0.5389 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3998, allocations: 0 / 0.5389 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/0.3998, allocations: 15.95 kB / 0.5389 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.4003, allocations: 62.5 kB / 0.539 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.4009, allocations: 386.2 kB / 0.5393 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.4011, allocations: 0.7134 MB / 0.54 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.752e-05/0.4012, allocations: 10.33 kB / 0.54 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.4012, allocations: 15.31 kB / 0.54 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4012, allocations: 0 / 0.54 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.004549/0.4058, allocations: 1.677 MB / 0.5417 GB, free: 31.27 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)