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.05996/0.05996, 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.00085/0.00085, allocations: 91.8 kB / 37.83 MB, free: 7.48 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.001086/0.001086, allocations: 156.7 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.8871/0.8871, 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.1941/0.1941, allocations: 17.62 MB / 308.7 MB, free: 1.734 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.804e-06/1.804e-06, allocations: 0 / 453.1 MB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.19e-05, allocations: 2.281 kB / 453.1 MB, free: 6.055 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.3194/0.3194, allocations: 23.25 MB / 476.3 MB, free: 42.64 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.3202, allocations: 457.8 kB / 476.8 MB, free: 42.54 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.3203, allocations: 6.938 kB / 476.8 MB, free: 42.54 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.3204, allocations: 14.48 kB / 476.8 MB, free: 42.53 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.3205, allocations: 47.89 kB / 476.9 MB, free: 42.51 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.738e-05/0.3205, allocations: 13.17 kB / 476.9 MB, free: 42.51 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3206, allocations: 111.7 kB / 477 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3208, allocations: 18.09 kB / 477 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.3208, allocations: 60.73 kB / 477.1 MB, free: 42.45 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.3209, allocations: 26.17 kB / 477.1 MB, free: 42.44 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3209, allocations: 5.844 kB / 477.1 MB, free: 42.44 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.3209, allocations: 3.062 kB / 477.1 MB, free: 42.44 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3209, allocations: 13.98 kB / 477.1 MB, free: 42.44 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3209, allocations: 25.25 kB / 477.1 MB, free: 42.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3211, allocations: 87.41 kB / 477.2 MB, free: 42.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3211, allocations: 3.188 kB / 477.2 MB, free: 42.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3211, allocations: 0 / 477.2 MB, free: 42.41 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3211, allocations: 3.938 kB / 477.2 MB, free: 42.41 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.0003558/0.3214, allocations: 330.1 kB / 477.5 MB, free: 42.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3215, allocations: 9.438 kB / 477.6 MB, free: 42.12 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.3215, allocations: 40.88 kB / 477.6 MB, free: 42.08 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.3215, allocations: 15.84 kB / 477.6 MB, free: 42.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3217, allocations: 161.3 kB / 477.8 MB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3217, allocations: 7.312 kB / 477.8 MB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.3217, allocations: 7.156 kB / 477.8 MB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.973e-05/0.3218, allocations: 61.58 kB / 477.8 MB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3218, allocations: 192 / 477.8 MB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3218, allocations: 4.125 kB / 477.8 MB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.3218, allocations: 0 / 477.8 MB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.3219, allocations: 19.91 kB / 477.9 MB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3222, allocations: 455.1 kB / 478.3 MB, free: 41.48 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.3222, allocations: 169.1 kB / 478.5 MB, free: 41.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.3222, allocations: 83.14 kB / 478.6 MB, free: 41.22 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3223, allocations: 75.28 kB / 478.6 MB, free: 41.14 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3223, allocations: 109.8 kB / 478.7 MB, free: 41.03 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3223, allocations: 4 kB / 478.7 MB, free: 41.03 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 5.525e-05/0.3223, allocations: 35.62 kB / 478.8 MB, free: 40.99 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3224, allocations: 129.7 kB / 478.9 MB, free: 40.86 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3225, allocations: 184 kB / 479.1 MB, free: 40.75 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.3225, allocations: 28.7 kB / 479.1 MB, free: 40.71 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3225, allocations: 115.6 kB / 479.2 MB, free: 40.63 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.3225, allocations: 3.938 kB / 479.2 MB, free: 40.62 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.3225, allocations: 9.719 kB / 479.2 MB, free: 40.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.3226, allocations: 320.8 kB / 479.5 MB, free: 40.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.3226, allocations: 6.969 kB / 479.6 MB, free: 40.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.3226, allocations: 7.812 kB / 479.6 MB, free: 40.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.3226, allocations: 7.828 kB / 479.6 MB, free: 40.28 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3226, allocations: 0 / 479.6 MB, free: 40.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.283e-05/0.3227, allocations: 49.44 kB / 479.6 MB, free: 40.24 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3227, allocations: 11.25 kB / 479.6 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3227, allocations: 0 / 479.6 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3227, allocations: 0 / 479.6 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.3228, allocations: 3.031 kB / 479.6 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3228, allocations: 3.938 kB / 479.6 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.3228, allocations: 7.891 kB / 479.6 MB, free: 40.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.3228, allocations: 4.094 kB / 479.6 MB, free: 40.23 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.393e-05/0.3229, allocations: 190.8 kB / 479.8 MB, free: 40.04 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.3229, allocations: 110.9 kB / 479.9 MB, free: 39.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.3229, allocations: 118.7 kB / 480.1 MB, free: 39.82 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3229, allocations: 183.2 kB / 480.2 MB, free: 39.64 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.3229, allocations: 179.4 kB / 480.4 MB, free: 39.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.323, allocations: 187.1 kB / 480.6 MB, free: 39.27 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.974e-05/0.3231, allocations: 400.7 kB / 481 MB, free: 38.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.3231, allocations: 109 kB / 481.1 MB, free: 38.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-06/0.3231, allocations: 104.9 kB / 481.2 MB, free: 38.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.3231, allocations: 187.2 kB / 481.4 MB, free: 38.46 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3231, allocations: 183.4 kB / 481.6 MB, free: 38.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.3231, allocations: 179.2 kB / 481.7 MB, free: 38.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.3231, allocations: 180.2 kB / 481.9 MB, free: 37.91 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.863e-05/0.3232, allocations: 315.9 kB / 482.2 MB, free: 37.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.3232, allocations: 118.7 kB / 482.3 MB, free: 37.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3232, allocations: 179.6 kB / 482.5 MB, free: 37.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.3233, allocations: 108 kB / 482.6 MB, free: 37.19 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.3233, allocations: 176.3 kB / 482.8 MB, free: 37.01 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3233, allocations: 111.7 kB / 482.9 MB, free: 36.9 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.3233, allocations: 132.5 kB / 483 MB, free: 36.83 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3233, allocations: 4 kB / 483 MB, free: 36.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001492/0.3235, allocations: 16.03 kB / 483 MB, free: 36.82 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.0001518/0.3236, allocations: 0.8144 MB / 483.9 MB, free: 36 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.39e-05/0.3237, allocations: 2.906 kB / 483.9 MB, free: 36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3237, allocations: 3.938 kB / 483.9 MB, free: 36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.3237, allocations: 0 / 483.9 MB, free: 36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.324, allocations: 0.514 MB / 484.4 MB, free: 35.54 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.3249, allocations: 1.646 MB / 486 MB, free: 34.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.3249, allocations: 81.44 kB / 486.1 MB, free: 34.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.3249, allocations: 17.88 kB / 486.1 MB, free: 34.09 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.325, allocations: 32.34 kB / 486.2 MB, free: 34.08 MB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.325, allocations: 0 / 486.2 MB, free: 34.08 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.344, allocations: 3.932 MB / 490.1 MB, free: 32.92 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.299, allocations: 9.75 kB / 490.1 MB, free: 32.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.190864622592926] Failed to read output from testmodel.py, exit status != 0: 7.380449249409139 7.391255642 7.068410783 Calling exit ...