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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08971/0.08971, allocations: 15.53 MB / 34.26 MB, free: 4.625 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 120.4 kB / 41.84 MB, free: 6.309 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 198.8 kB / 49.49 MB, free: 10.09 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 282.6 MB, free: 8.898 MB / 206.1 MB " [Timeout remaining time 178] 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.1407/0.1407, allocations: 23.69 MB / 365.9 MB, free: 9.152 MB / 286.1 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.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: "" <> 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 0.003241/0.003241, allocations: 123.8 kB / 0.496 GB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2751, allocations: 62.67 MB / 0.5572 GB, free: 6.316 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.03405/0.3091, allocations: 22.63 MB / 0.5793 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.31, allocations: 450.9 kB / 0.5797 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.3101, allocations: 3.938 kB / 0.5797 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.3103, allocations: 19.8 kB / 0.5797 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.3103, allocations: 43.62 kB / 0.5798 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.656e-05/0.3104, allocations: 7.984 kB / 0.5798 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3106, allocations: 111.3 kB / 0.5799 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.3106, allocations: 21.05 kB / 0.5799 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.3107, allocations: 43.84 kB / 0.5799 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.3108, allocations: 35.73 kB / 0.58 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.3108, allocations: 15.94 kB / 0.58 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.3108, allocations: 4 kB / 0.58 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.3108, allocations: 7.938 kB / 0.58 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.3109, allocations: 51.73 kB / 0.58 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.311, allocations: 87.61 kB / 0.5801 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.311, allocations: 0 / 0.5801 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.311, allocations: 0 / 0.5801 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.311, allocations: 0 / 0.5801 GB, free: 14.91 MB / 414.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.0004635/0.3115, allocations: 329.8 kB / 0.5804 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3116, allocations: 20.02 kB / 0.5805 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.3116, allocations: 34.69 kB / 0.5805 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3116, allocations: 20.84 kB / 0.5805 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3119, allocations: 146.3 kB / 0.5807 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3119, allocations: 8.359 kB / 0.5807 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3119, allocations: 8.375 kB / 0.5807 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.312, allocations: 61.75 kB / 0.5807 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.312, allocations: 3.984 kB / 0.5807 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.312, allocations: 8 kB / 0.5807 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.312, allocations: 7.875 kB / 0.5807 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.3121, allocations: 20 kB / 0.5808 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.3126, allocations: 450.2 kB / 0.5812 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.3127, allocations: 169.1 kB / 0.5814 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3128, allocations: 88.17 kB / 0.5814 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3128, allocations: 79.28 kB / 0.5815 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.3129, allocations: 105.8 kB / 0.5816 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3129, allocations: 0 / 0.5816 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.418e-05/0.313, allocations: 49.47 kB / 0.5817 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.313, allocations: 130.7 kB / 0.5818 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3132, allocations: 179.3 kB / 0.582 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3132, allocations: 25.7 kB / 0.582 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.3133, allocations: 116.1 kB / 0.5821 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.3133, allocations: 0 / 0.5821 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.3133, allocations: 13.72 kB / 0.5821 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3135, allocations: 322.8 kB / 0.5824 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.3135, allocations: 0 / 0.5824 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.3135, allocations: 8 kB / 0.5824 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.3135, allocations: 8.859 kB / 0.5824 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3135, allocations: 0 / 0.5824 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.916e-05/0.3136, allocations: 49.59 kB / 0.5825 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3136, allocations: 4 kB / 0.5825 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3136, allocations: 112 / 0.5825 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3137, allocations: 11.88 kB / 0.5825 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.3137, allocations: 0 / 0.5825 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3137, allocations: 0 / 0.5825 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.3137, allocations: 12.03 kB / 0.5825 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3138, allocations: 4 kB / 0.5825 GB, free: 12.27 MB / 414.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 0.0001249/0.3139, allocations: 189.1 kB / 0.5827 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.314, allocations: 112.9 kB / 0.5828 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/0.314, allocations: 117.5 kB / 0.5829 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-05/0.3141, allocations: 184.3 kB / 0.5831 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-05/0.3142, allocations: 188.2 kB / 0.5833 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-05/0.3143, allocations: 180.3 kB / 0.5834 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3145, allocations: 404.2 kB / 0.5838 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/0.3146, allocations: 105 kB / 0.5839 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.3146, allocations: 105 kB / 0.584 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.872e-05/0.3147, allocations: 184.2 kB / 0.5842 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.3148, allocations: 176.3 kB / 0.5844 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-05/0.3149, allocations: 188.1 kB / 0.5845 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.812e-05/0.315, allocations: 180.3 kB / 0.5847 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.3151, allocations: 323.7 kB / 0.585 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3152, allocations: 116.9 kB / 0.5851 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.3153, allocations: 180.2 kB / 0.5853 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3154, allocations: 108.9 kB / 0.5854 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.3155, allocations: 180.3 kB / 0.5856 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.3155, allocations: 104.9 kB / 0.5857 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3156, allocations: 145.1 kB / 0.5858 GB, free: 8.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3156, allocations: 4 kB / 0.5858 GB, free: 8.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.3158, allocations: 12 kB / 0.5858 GB, free: 8.656 MB / 414.1 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.0004328/0.3163, allocations: 0.8014 MB / 0.5866 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.604e-05/0.3163, allocations: 7.938 kB / 0.5866 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3164, allocations: 4.062 kB / 0.5866 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3164, allocations: 0 / 0.5866 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.3169, allocations: 0.5022 MB / 0.5871 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.3185, allocations: 1.643 MB / 0.5887 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3188, allocations: 0.6964 MB / 0.5894 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.3188, allocations: 16.58 kB / 0.5894 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.3189, allocations: 31.42 kB / 0.5895 GB, free: 4.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3189, allocations: 7.938 kB / 0.5895 GB, free: 4.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.3448, allocations: 3.051 MB / 0.5924 GB, free: 1.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.024, allocations: 2.344 kB / 0.5924 GB, free: 1.832 MB / 414.1 MB " [Timeout remaining time 652] (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: 10.59690672904253] Failed to read output from testmodel.py, exit status != 0: 8.09365845611319 8.11004326 7.795692718 Calling exit ...