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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.06468/0.06468, allocations: 11.16 MB / 30.25 MB, free: 5.086 MB / 24.77 MB " [Timeout remaining time 180] 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.0007755/0.0007755, allocations: 87.22 kB / 37.83 MB, free: 7.488 MB / 33.03 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.0009006/0.0009006, allocations: 164.5 kB / 45.51 MB, free: 10.93 MB / 44.04 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.9098/0.9098, allocations: 177.1 MB / 230.2 MB, free: 6.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1961/0.1961, allocations: 17.62 MB / 308.7 MB, free: 1.738 MB / 266.7 MB " [Timeout remaining time 180] 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.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 453.1 MB, free: 6.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.503e-05, allocations: 5.375 kB / 453.1 MB, free: 6.047 MB / 410.7 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.2887/0.2887, allocations: 23.24 MB / 476.3 MB, free: 42.7 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000834/0.2895, allocations: 454.6 kB / 476.8 MB, free: 42.59 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.2896, allocations: 6.938 kB / 476.8 MB, free: 42.59 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2897, allocations: 21.44 kB / 476.8 MB, free: 42.58 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.2898, allocations: 41.44 kB / 476.8 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.997e-05/0.2899, allocations: 16.72 kB / 476.9 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.29, allocations: 111 kB / 477 MB, free: 42.52 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2901, allocations: 20.42 kB / 477 MB, free: 42.52 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.2901, allocations: 53.33 kB / 477 MB, free: 42.5 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.2902, allocations: 30 kB / 477.1 MB, free: 42.5 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2902, allocations: 5.938 kB / 477.1 MB, free: 42.5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.2902, allocations: 3.094 kB / 477.1 MB, free: 42.5 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2902, allocations: 13.53 kB / 477.1 MB, free: 42.49 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.2903, allocations: 31.75 kB / 477.1 MB, free: 42.49 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2904, allocations: 83.45 kB / 477.2 MB, free: 42.47 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2904, allocations: 7.266 kB / 477.2 MB, free: 42.46 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2904, allocations: 0 / 477.2 MB, free: 42.46 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2904, allocations: 0 / 477.2 MB, free: 42.46 MB / 410.8 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.0003142/0.2907, allocations: 328.6 kB / 477.5 MB, free: 42.18 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2907, allocations: 13.38 kB / 477.5 MB, free: 42.17 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.2908, allocations: 36.83 kB / 477.6 MB, free: 42.13 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2908, allocations: 18.78 kB / 477.6 MB, free: 42.12 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.291, allocations: 158.2 kB / 477.8 MB, free: 41.98 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.291, allocations: 3.406 kB / 477.8 MB, free: 41.98 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.291, allocations: 9.984 kB / 477.8 MB, free: 41.97 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.2911, allocations: 62.73 kB / 477.8 MB, free: 41.94 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2911, allocations: 4.188 kB / 477.8 MB, free: 41.93 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2911, allocations: 4.125 kB / 477.8 MB, free: 41.93 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2911, allocations: 3.094 kB / 477.8 MB, free: 41.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.2911, allocations: 22.58 kB / 477.9 MB, free: 41.93 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.2915, allocations: 444.6 kB / 478.3 MB, free: 41.53 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.099e-05/0.2915, allocations: 172.1 kB / 478.5 MB, free: 41.36 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.2915, allocations: 83.08 kB / 478.5 MB, free: 41.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.2916, allocations: 75.28 kB / 478.6 MB, free: 41.2 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2916, allocations: 108.9 kB / 478.7 MB, free: 41.09 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.2916, allocations: 0 / 478.7 MB, free: 41.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 5.411e-05/0.2916, allocations: 36.69 kB / 478.8 MB, free: 41.05 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.2917, allocations: 132.9 kB / 478.9 MB, free: 40.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2918, allocations: 186.9 kB / 479.1 MB, free: 40.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-06/0.2918, allocations: 29.64 kB / 479.1 MB, free: 40.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.2918, allocations: 113.1 kB / 479.2 MB, free: 40.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.2918, allocations: 0 / 479.2 MB, free: 40.68 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.2918, allocations: 9.719 kB / 479.2 MB, free: 40.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.2919, allocations: 323.2 kB / 479.5 MB, free: 40.35 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.2919, allocations: 2.938 kB / 479.5 MB, free: 40.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.2919, allocations: 0 / 479.5 MB, free: 40.35 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.2919, allocations: 15.17 kB / 479.6 MB, free: 40.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2919, allocations: 112 / 479.6 MB, free: 40.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.184e-05/0.292, allocations: 49.06 kB / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.292, allocations: 6.031 kB / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.292, allocations: 0 / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.292, allocations: 3.375 kB / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.2921, allocations: 6.906 kB / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2921, allocations: 3.984 kB / 479.6 MB, free: 40.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.2921, allocations: 7.891 kB / 479.6 MB, free: 40.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2921, allocations: 0 / 479.6 MB, free: 40.29 MB / 410.8 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 4.243e-05/0.2922, allocations: 194.8 kB / 479.8 MB, free: 40.09 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2922, allocations: 110.9 kB / 479.9 MB, free: 39.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.2922, allocations: 117.7 kB / 480 MB, free: 39.88 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.2922, allocations: 183.2 kB / 480.2 MB, free: 39.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.2922, allocations: 180.3 kB / 480.4 MB, free: 39.51 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.2922, allocations: 190.5 kB / 480.6 MB, free: 39.32 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.895e-05/0.2923, allocations: 401 kB / 481 MB, free: 38.92 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.2923, allocations: 112.9 kB / 481.1 MB, free: 38.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.2924, allocations: 104.9 kB / 481.2 MB, free: 38.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.2924, allocations: 179.3 kB / 481.4 MB, free: 38.52 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2924, allocations: 187.5 kB / 481.5 MB, free: 38.33 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.2924, allocations: 179.3 kB / 481.7 MB, free: 38.15 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.2924, allocations: 180.2 kB / 481.9 MB, free: 37.96 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.243e-05/0.2925, allocations: 322.8 kB / 482.2 MB, free: 37.64 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2925, allocations: 111.9 kB / 482.3 MB, free: 37.53 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.2925, allocations: 176.3 kB / 482.5 MB, free: 37.35 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.2925, allocations: 111.1 kB / 482.6 MB, free: 37.24 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.2926, allocations: 180.2 kB / 482.8 MB, free: 37.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2926, allocations: 108 kB / 482.9 MB, free: 36.95 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.2926, allocations: 133.7 kB / 483 MB, free: 36.88 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2926, allocations: 4 kB / 483 MB, free: 36.88 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001564/0.2928, allocations: 15.81 kB / 483 MB, free: 36.87 MB / 410.8 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 0.0001388/0.2929, allocations: 0.8147 MB / 483.8 MB, free: 36.05 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.799e-05/0.293, allocations: 2.906 kB / 483.9 MB, free: 36.05 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.293, allocations: 0 / 483.9 MB, free: 36.05 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.293, allocations: 3.938 kB / 483.9 MB, free: 36.05 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2933, allocations: 0.525 MB / 484.4 MB, free: 35.58 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.2942, allocations: 1.648 MB / 486 MB, free: 34.22 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.2942, allocations: 87.94 kB / 486.1 MB, free: 34.14 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.2942, allocations: 6.594 kB / 486.1 MB, free: 34.14 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.2943, allocations: 28.92 kB / 486.1 MB, free: 34.12 MB / 410.8 MB Notification: Performance of SimCode: time 6.91e-07/0.2943, allocations: 0 / 486.1 MB, free: 34.12 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.3118, allocations: 3.926 MB / 490.1 MB, free: 32.98 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/7.13, allocations: 6.969 kB / 490.1 MB, free: 32.97 MB / 410.8 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.14074908848852] Failed to read output from testmodel.py, exit status != 0: 7.213711192831397 7.231186036 6.93835969 Calling exit ...