Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.07975/0.07975, allocations: 15.29 MB / 31.6 MB, free: 4.137 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 99.67 kB / 36.59 MB, free: 3.18 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 198.1 kB / 41.7 MB, free: 7.137 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 269.6 MB, free: 6.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1318/0.1318, allocations: 23.36 MB / 347.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 115.8 kB / 479.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2963, allocations: 59.34 MB / 0.5262 GB, free: 8.102 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66: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.02841/0.3248, allocations: 21.68 MB / 0.5474 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3259, allocations: 437.5 kB / 0.5478 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.326, allocations: 3.938 kB / 0.5478 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3261, allocations: 21.02 kB / 0.5478 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/0.3262, allocations: 36.72 kB / 0.5479 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.683e-05/0.3263, allocations: 16.12 kB / 0.5479 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3265, allocations: 106.4 kB / 0.548 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3266, allocations: 35.7 kB / 0.548 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.3267, allocations: 38.44 kB / 0.5481 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.3267, allocations: 39.45 kB / 0.5481 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3268, allocations: 8 kB / 0.5481 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.3268, allocations: 4 kB / 0.5481 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3268, allocations: 9.766 kB / 0.5481 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.3269, allocations: 53.23 kB / 0.5482 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.327, allocations: 92.47 kB / 0.5483 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.327, allocations: 0 / 0.5483 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3271, allocations: 0 / 0.5483 GB, free: 12.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3271, allocations: 0 / 0.5483 GB, free: 12.74 MB / 398.1 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.0004631/0.3275, allocations: 407.4 kB / 0.5487 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3276, allocations: 8.031 kB / 0.5487 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3276, allocations: 12.84 kB / 0.5487 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3279, allocations: 226 kB / 0.5489 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3279, allocations: 384 / 0.5489 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3279, allocations: 12.31 kB / 0.5489 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.328, allocations: 59.27 kB / 0.549 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.328, allocations: 0 / 0.549 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3281, allocations: 4 kB / 0.549 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3281, allocations: 0 / 0.549 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.3281, allocations: 26.75 kB / 0.549 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.3286, allocations: 483.7 kB / 0.5494 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.3287, allocations: 165.1 kB / 0.5496 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.3287, allocations: 84.64 kB / 0.5497 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3288, allocations: 75.28 kB / 0.5498 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.3288, allocations: 114.5 kB / 0.5499 GB, free: 10.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3288, allocations: 0 / 0.5499 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.049e-05/0.3289, allocations: 42.12 kB / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.3289, allocations: 55.34 kB / 0.55 GB, free: 10.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3291, allocations: 183.9 kB / 0.5501 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3291, allocations: 25.7 kB / 0.5502 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.3292, allocations: 111.6 kB / 0.5503 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3292, allocations: 0 / 0.5503 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.3292, allocations: 18.38 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3293, allocations: 326.6 kB / 0.5506 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.3294, allocations: 0 / 0.5506 GB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.3294, allocations: 4.641 kB / 0.5506 GB, free: 10.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.3294, allocations: 8.859 kB / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3294, allocations: 0 / 0.5506 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.3295, allocations: 47.11 kB / 0.5507 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3295, allocations: 4.094 kB / 0.5507 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3296, allocations: 4 kB / 0.5507 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3296, allocations: 0.75 kB / 0.5507 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.3296, allocations: 7.938 kB / 0.5507 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3296, allocations: 4.547 kB / 0.5507 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.3297, allocations: 3.938 kB / 0.5507 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.3297, allocations: 0 / 0.5507 GB, free: 10.12 MB / 398.1 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 9.011e-05/0.3298, allocations: 189.6 kB / 0.5509 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.3299, allocations: 121.9 kB / 0.551 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.3299, allocations: 120.4 kB / 0.5511 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.022e-05/0.33, allocations: 184.8 kB / 0.5513 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.199e-05/0.33, allocations: 117.7 kB / 0.5514 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.3301, allocations: 191.3 kB / 0.5516 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.3302, allocations: 181.6 kB / 0.5517 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.3303, allocations: 105.6 kB / 0.5518 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.3303, allocations: 188.9 kB / 0.552 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.916e-05/0.3304, allocations: 252.1 kB / 0.5523 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001403/0.3306, allocations: 393.1 kB / 0.5526 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.262e-05/0.3306, allocations: 101.8 kB / 0.5527 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.3307, allocations: 139.5 kB / 0.5529 GB, free: 7.785 MB / 398.1 MB Notification: Performance of Backend: time 1.703e-06/0.3307, allocations: 0 / 0.5529 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.331, allocations: 79.56 kB / 0.5529 GB, free: 7.699 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007555/0.3318, allocations: 0.9918 MB / 0.5539 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.004336/0.3362, allocations: 1.586 MB / 0.5555 GB, free: 5.762 MB / 398.1 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)