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.09905/0.09905, allocations: 15.56 MB / 34.4 MB, free: 4.523 MB / 26.18 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.001259/0.001259, allocations: 105.8 kB / 41.98 MB, free: 6.199 MB / 34.91 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.001476/0.001476, allocations: 210.2 kB / 49.67 MB, free: 10.04 MB / 34.91 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 1.535/1.535, allocations: 230.6 MB / 287.9 MB, free: 6.336 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.1653/0.1653, allocations: 23.73 MB / 372.4 MB, free: 2.906 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.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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003663/0.003663, allocations: 130.6 kB / 0.5047 GB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3057, allocations: 63.85 MB / 0.567 GB, free: 14.46 MB / 398.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.07054/0.3762, allocations: 22.99 MB / 0.5895 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3773, allocations: 442.9 kB / 0.5899 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.3774, allocations: 3.938 kB / 0.5899 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3775, allocations: 27.73 kB / 0.5899 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.912e-05/0.3776, allocations: 43.62 kB / 0.59 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.926e-05/0.3777, allocations: 15.98 kB / 0.59 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3778, allocations: 103.3 kB / 0.5901 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3779, allocations: 21.28 kB / 0.5901 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.378, allocations: 39.86 kB / 0.5901 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.3781, allocations: 35.8 kB / 0.5902 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3781, allocations: 4 kB / 0.5902 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.3781, allocations: 4 kB / 0.5902 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.3781, allocations: 11.88 kB / 0.5902 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.3782, allocations: 43.8 kB / 0.5902 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3783, allocations: 87.61 kB / 0.5903 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3783, allocations: 3.938 kB / 0.5903 GB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3783, allocations: 0 / 0.5903 GB, free: 6.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3783, allocations: 0 / 0.5903 GB, free: 6.703 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.0004875/0.3788, allocations: 337.8 kB / 0.5906 GB, free: 6.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3788, allocations: 12.02 kB / 0.5906 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.3789, allocations: 42.69 kB / 0.5907 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.3789, allocations: 16.78 kB / 0.5907 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3792, allocations: 154.3 kB / 0.5908 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3792, allocations: 12.36 kB / 0.5909 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.3792, allocations: 384 / 0.5909 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3793, allocations: 61.81 kB / 0.5909 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3793, allocations: 0 / 0.5909 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3793, allocations: 0 / 0.5909 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3794, allocations: 4 kB / 0.5909 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.3794, allocations: 23.94 kB / 0.5909 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.3799, allocations: 454.2 kB / 0.5914 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.655e-05/0.38, allocations: 165.1 kB / 0.5915 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.3801, allocations: 80.14 kB / 0.5916 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.3801, allocations: 79.39 kB / 0.5917 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.3801, allocations: 109.8 kB / 0.5918 GB, free: 5.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3802, allocations: 0 / 0.5918 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.253e-05/0.3802, allocations: 45.53 kB / 0.5918 GB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.3803, allocations: 126.7 kB / 0.592 GB, free: 4.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3805, allocations: 191 kB / 0.5921 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.3805, allocations: 25.7 kB / 0.5922 GB, free: 4.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.3806, allocations: 112.1 kB / 0.5923 GB, free: 4.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3806, allocations: 0 / 0.5923 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.3806, allocations: 17.75 kB / 0.5923 GB, free: 4.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3808, allocations: 322.8 kB / 0.5926 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.3808, allocations: 0 / 0.5926 GB, free: 4.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.3808, allocations: 4 kB / 0.5926 GB, free: 4.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.3808, allocations: 8.859 kB / 0.5926 GB, free: 4.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3808, allocations: 0 / 0.5926 GB, free: 4.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.381, allocations: 57.53 kB / 0.5927 GB, free: 4.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.381, allocations: 4.094 kB / 0.5927 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.381, allocations: 4 kB / 0.5927 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.381, allocations: 3.938 kB / 0.5927 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.381, allocations: 4 kB / 0.5927 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.381, allocations: 3.984 kB / 0.5927 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.3811, allocations: 0 / 0.5927 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3811, allocations: 0 / 0.5927 GB, free: 4.07 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.0001148/0.3812, allocations: 189.1 kB / 0.5929 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.3813, allocations: 116.9 kB / 0.593 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.3814, allocations: 125.5 kB / 0.5931 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/0.3814, allocations: 188.2 kB / 0.5933 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.965e-05/0.3815, allocations: 188.2 kB / 0.5934 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-05/0.3816, allocations: 180.2 kB / 0.5936 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.3819, allocations: 404.2 kB / 0.594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.552e-05/0.3819, allocations: 104.9 kB / 0.5941 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.382, allocations: 101 kB / 0.5942 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.169e-05/0.3821, allocations: 188.2 kB / 0.5944 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.719e-05/0.3821, allocations: 176.3 kB / 0.5946 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.33e-05/0.3822, allocations: 188.1 kB / 0.5947 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.693e-05/0.3823, allocations: 180.3 kB / 0.5949 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.3825, allocations: 311.7 kB / 0.5952 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.3825, allocations: 128.8 kB / 0.5953 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.3826, allocations: 184.2 kB / 0.5955 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3828, allocations: 104.9 kB / 0.5956 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.3828, allocations: 180.2 kB / 0.5958 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.3829, allocations: 104.9 kB / 0.5959 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.383, allocations: 137.2 kB / 0.596 GB, free: 476 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 0.596 GB, free: 476 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.3832, allocations: 12 kB / 0.596 GB, free: 464 kB / 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.0004496/0.3837, allocations: 0.8087 MB / 0.5968 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.3838, allocations: 7.938 kB / 0.5968 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3838, allocations: 0 / 0.5968 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.3838, allocations: 4 kB / 0.5968 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3844, allocations: 0.4945 MB / 0.5973 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.386, allocations: 1.663 MB / 0.5989 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.639e-05/0.3861, allocations: 88.2 kB / 0.599 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.3861, allocations: 4.656 kB / 0.599 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.3862, allocations: 27.42 kB / 0.599 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3862, allocations: 4 kB / 0.599 GB, free: 13.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4179, allocations: 3.83 MB / 0.6028 GB, free: 9.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 0 / 0.6028 GB, free: 9.516 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.415677390992641] Failed to read output from testmodel.py, exit status != 0: 11.672009177971631 11.701808499 11.318494574 Calling exit ...