Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.05328/0.05328, 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.0008216/0.0008216, allocations: 88.42 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.0008326/0.0008326, allocations: 160.6 kB / 45.51 MB, free: 10.92 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.8586/0.8586, allocations: 177.1 MB / 230.2 MB, free: 6.559 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.2068/0.2068, allocations: 17.61 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.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 453.1 MB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.279e-05, allocations: 2.281 kB / 453.1 MB, free: 6.043 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.SkinHeatTransferOnBloodFlow): time 0.3137/0.3137, allocations: 23.25 MB / 476.3 MB, free: 42.59 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.3145, allocations: 452.8 kB / 476.8 MB, free: 42.49 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.3146, allocations: 14.56 kB / 476.8 MB, free: 42.48 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3147, allocations: 18.28 kB / 476.8 MB, free: 42.47 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.3148, allocations: 41.95 kB / 476.8 MB, free: 42.45 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.581e-05/0.3148, allocations: 11.2 kB / 476.9 MB, free: 42.45 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3149, allocations: 112.6 kB / 477 MB, free: 42.41 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.315, allocations: 25.69 kB / 477 MB, free: 42.4 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.3151, allocations: 57.06 kB / 477.1 MB, free: 42.39 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.3151, allocations: 26.77 kB / 477.1 MB, free: 42.39 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.3152, allocations: 7.094 kB / 477.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.3152, allocations: 6.281 kB / 477.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.3152, allocations: 7.875 kB / 477.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3152, allocations: 33.3 kB / 477.1 MB, free: 42.37 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3153, allocations: 89.56 kB / 477.2 MB, free: 42.35 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3153, allocations: 0 / 477.2 MB, free: 42.35 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3153, allocations: 3.938 kB / 477.2 MB, free: 42.35 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.3153, allocations: 0 / 477.2 MB, free: 42.35 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.0003125/0.3156, allocations: 329.4 kB / 477.5 MB, free: 42.06 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3157, allocations: 13.06 kB / 477.6 MB, free: 42.05 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.326e-05/0.3157, allocations: 34.44 kB / 477.6 MB, free: 42.02 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.097e-05/0.3157, allocations: 18.75 kB / 477.6 MB, free: 42 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3159, allocations: 155.9 kB / 477.8 MB, free: 41.86 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3159, allocations: 7.281 kB / 477.8 MB, free: 41.86 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.3159, allocations: 3.406 kB / 477.8 MB, free: 41.86 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.316, allocations: 59.78 kB / 477.8 MB, free: 41.83 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.316, allocations: 192 / 477.8 MB, free: 41.83 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.316, allocations: 7.812 kB / 477.8 MB, free: 41.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.316, allocations: 7 kB / 477.8 MB, free: 41.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.316, allocations: 25.92 kB / 477.9 MB, free: 41.82 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3164, allocations: 439.5 kB / 478.3 MB, free: 41.42 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.3164, allocations: 175.1 kB / 478.5 MB, free: 41.25 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.065e-05/0.3164, allocations: 80.14 kB / 478.5 MB, free: 41.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3164, allocations: 75.28 kB / 478.6 MB, free: 41.09 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3164, allocations: 108.9 kB / 478.7 MB, free: 40.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3164, allocations: 0 / 478.7 MB, free: 40.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 5.593e-05/0.3165, allocations: 39.84 kB / 478.8 MB, free: 40.94 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3165, allocations: 126.7 kB / 478.9 MB, free: 40.8 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3166, allocations: 191.6 kB / 479.1 MB, free: 40.69 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-06/0.3166, allocations: 25.7 kB / 479.1 MB, free: 40.66 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3167, allocations: 109.9 kB / 479.2 MB, free: 40.57 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-06/0.3167, allocations: 2.875 kB / 479.2 MB, free: 40.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.3167, allocations: 9.719 kB / 479.2 MB, free: 40.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.115e-05/0.3167, allocations: 327.4 kB / 479.5 MB, free: 40.24 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.3167, allocations: 6.938 kB / 479.5 MB, free: 40.24 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.3167, allocations: 0 / 479.5 MB, free: 40.24 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.3168, allocations: 11.02 kB / 479.6 MB, free: 40.23 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3168, allocations: 4.062 kB / 479.6 MB, free: 40.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.647e-05/0.3168, allocations: 45.81 kB / 479.6 MB, free: 40.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3168, allocations: 5.562 kB / 479.6 MB, free: 40.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3168, allocations: 0 / 479.6 MB, free: 40.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3169, allocations: 4 kB / 479.6 MB, free: 40.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.3169, allocations: 5.922 kB / 479.6 MB, free: 40.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3169, allocations: 0 / 479.6 MB, free: 40.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.3169, allocations: 7.891 kB / 479.6 MB, free: 40.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3169, allocations: 2.75 kB / 479.6 MB, free: 40.18 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.119e-05/0.317, allocations: 189.5 kB / 479.8 MB, free: 39.99 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.317, allocations: 118.7 kB / 479.9 MB, free: 39.87 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.317, allocations: 123.8 kB / 480.1 MB, free: 39.76 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.317, allocations: 184.1 kB / 480.2 MB, free: 39.58 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.3171, allocations: 183.3 kB / 480.4 MB, free: 39.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3171, allocations: 183.6 kB / 480.6 MB, free: 39.21 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.3172, allocations: 399.9 kB / 481 MB, free: 38.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.3172, allocations: 108.2 kB / 481.1 MB, free: 38.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.3172, allocations: 103.9 kB / 481.2 MB, free: 38.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.3172, allocations: 184.1 kB / 481.4 MB, free: 38.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3172, allocations: 179.2 kB / 481.5 MB, free: 38.22 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.3172, allocations: 183.5 kB / 481.7 MB, free: 38.04 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.3172, allocations: 183 kB / 481.9 MB, free: 37.86 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.962e-05/0.3173, allocations: 320.5 kB / 482.2 MB, free: 37.53 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.3173, allocations: 111.2 kB / 482.3 MB, free: 37.42 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3173, allocations: 183.4 kB / 482.5 MB, free: 37.24 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.3174, allocations: 101 kB / 482.6 MB, free: 37.13 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3174, allocations: 186.4 kB / 482.8 MB, free: 36.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.3174, allocations: 108.9 kB / 482.9 MB, free: 36.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.3175, allocations: 132.2 kB / 483 MB, free: 36.77 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3175, allocations: 0 / 483 MB, free: 36.77 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001456/0.3176, allocations: 18.69 kB / 483 MB, free: 36.76 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.0001343/0.3177, allocations: 0.8141 MB / 483.9 MB, free: 35.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.3178, allocations: 7.062 kB / 483.9 MB, free: 35.94 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3178, allocations: 3.938 kB / 483.9 MB, free: 35.94 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.3178, allocations: 3.75 kB / 483.9 MB, free: 35.94 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3181, allocations: 0.5009 MB / 484.4 MB, free: 35.48 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/0.3189, allocations: 1.654 MB / 486 MB, free: 34.11 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.319, allocations: 87.84 kB / 486.1 MB, free: 34.04 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.319, allocations: 6.688 kB / 486.1 MB, free: 34.04 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.319, allocations: 31.2 kB / 486.1 MB, free: 34.03 MB / 410.8 MB Notification: Performance of SimCode: time 4.91e-07/0.319, allocations: 4 kB / 486.1 MB, free: 34.02 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.3404, allocations: 3.939 MB / 490.1 MB, free: 32.86 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.465, allocations: 6.625 kB / 490.1 MB, free: 32.86 MB / 410.8 MB " [Timeout remaining time 652] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.366696034558117] Failed to read output from testmodel.py, exit status != 0: 7.546813504770398 7.558212867 7.240733385 Calling exit ...