Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09878/0.09878, allocations: 15.28 MB / 30.53 MB, free: 3.199 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.000909/0.000909, allocations: 190.3 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.436/1.436, allocations: 225.7 MB / 266.3 MB, free: 6.043 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.001163/0.001164, allocations: 110.4 kB / 321.7 MB, free: 2.195 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.1122/0.1122, allocations: 20.56 MB / 397.6 MB, free: 42.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 16 kB / 469.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3119, allocations: 59.78 MB / 0.5168 GB, free: 40.98 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.SkinHeatFlow): time 0.02173/0.3337, allocations: 18.15 MB / 0.5345 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.3346, allocations: 467.3 kB / 0.535 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3347, allocations: 6.75 kB / 0.535 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/0.3348, allocations: 17.47 kB / 0.535 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.3349, allocations: 40.09 kB / 0.5351 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.368e-05/0.335, allocations: 4 kB / 0.5351 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3351, allocations: 108.5 kB / 0.5352 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3352, allocations: 23.95 kB / 0.5352 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.3353, allocations: 33.28 kB / 0.5352 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.3353, allocations: 30.59 kB / 0.5352 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3353, allocations: 3.438 kB / 0.5352 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.3354, allocations: 6.688 kB / 0.5353 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3354, allocations: 17.73 kB / 0.5353 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3354, allocations: 67.83 kB / 0.5353 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.963e-05/0.3355, allocations: 86.48 kB / 0.5354 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3356, allocations: 0 / 0.5354 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3356, allocations: 2.625 kB / 0.5354 GB, free: 35.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.3356, allocations: 0 / 0.5354 GB, free: 35.59 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003539/0.3359, allocations: 383.1 kB / 0.5358 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.336, allocations: 11.91 kB / 0.5358 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.336, allocations: 10.09 kB / 0.5358 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.3362, allocations: 221.3 kB / 0.536 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3362, allocations: 3 kB / 0.536 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3362, allocations: 7 kB / 0.536 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3363, allocations: 61.12 kB / 0.5361 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3364, allocations: 0 / 0.5361 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3364, allocations: 8 kB / 0.5361 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3364, allocations: 2.625 kB / 0.5361 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.3364, allocations: 25.81 kB / 0.5361 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3369, allocations: 485.3 kB / 0.5366 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.3369, allocations: 169.1 kB / 0.5367 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.3369, allocations: 83.38 kB / 0.5368 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3369, allocations: 75.28 kB / 0.5369 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.337, allocations: 106.5 kB / 0.537 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.337, allocations: 0 / 0.537 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.503e-05/0.3371, allocations: 43.41 kB / 0.537 GB, free: 33.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3371, allocations: 137.2 kB / 0.5372 GB, free: 33.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3372, allocations: 178.2 kB / 0.5373 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.3373, allocations: 29.64 kB / 0.5374 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.3373, allocations: 109.3 kB / 0.5375 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.3373, allocations: 2.625 kB / 0.5375 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.3373, allocations: 0 / 0.5375 GB, free: 33.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.3374, allocations: 321.6 kB / 0.5378 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.3374, allocations: 4 kB / 0.5378 GB, free: 33.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.3374, allocations: 6.625 kB / 0.5378 GB, free: 33.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.3375, allocations: 8.141 kB / 0.5378 GB, free: 33.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3375, allocations: 0 / 0.5378 GB, free: 33.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.939e-05/0.3376, allocations: 49.42 kB / 0.5378 GB, free: 33.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3376, allocations: 9.188 kB / 0.5379 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3376, allocations: 0.6094 kB / 0.5379 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3376, allocations: 0 / 0.5379 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.3377, allocations: 7.266 kB / 0.5379 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.3377, allocations: 96 / 0.5379 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.3377, allocations: 7.906 kB / 0.5379 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3377, allocations: 2.625 kB / 0.5379 GB, free: 33.16 MB / 378.7 MB 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 (1): * Single equations (assignments): 1 * 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 6.166e-05/0.3378, allocations: 188.5 kB / 0.5381 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.3378, allocations: 110.8 kB / 0.5382 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3379, allocations: 123.1 kB / 0.5383 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.3379, allocations: 181 kB / 0.5384 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/0.338, allocations: 187.5 kB / 0.5386 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.338, allocations: 181 kB / 0.5388 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3382, allocations: 433.3 kB / 0.5392 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.3382, allocations: 105.5 kB / 0.5393 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.3382, allocations: 101.7 kB / 0.5394 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/0.3382, allocations: 191.7 kB / 0.5396 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3383, allocations: 184.8 kB / 0.5398 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.428e-05/0.3383, allocations: 181.3 kB / 0.5399 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.406e-05/0.3383, allocations: 183.5 kB / 0.5401 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.993e-05/0.3384, allocations: 317.7 kB / 0.5404 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3384, allocations: 190.3 kB / 0.5406 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.3385, allocations: 183.4 kB / 0.5408 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.3386, allocations: 105.6 kB / 0.5409 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3386, allocations: 184.9 kB / 0.5411 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3386, allocations: 108.2 kB / 0.5412 GB, free: 29.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.3387, allocations: 137.6 kB / 0.5413 GB, free: 29.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3387, allocations: 0 / 0.5413 GB, free: 29.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.3389, allocations: 13.12 kB / 0.5413 GB, free: 29.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.856e-05/0.339, allocations: 171.1 kB / 0.5415 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.009e-05/0.3391, allocations: 2.625 kB / 0.5415 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3391, allocations: 2.625 kB / 0.5415 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.3391, allocations: 3.938 kB / 0.5415 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.3396, allocations: 0.5766 MB / 0.542 GB, free: 28.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.34, allocations: 327.5 kB / 0.5423 GB, free: 28.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.3401, allocations: 0.6978 MB / 0.543 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.3401, allocations: 11.83 kB / 0.543 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.3402, allocations: 10.06 kB / 0.543 GB, free: 27.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3402, allocations: 0 / 0.543 GB, free: 27.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003426/0.3436, allocations: 1.472 MB / 0.5445 GB, free: 27.72 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)