Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04087/0.04087, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.4 MB / 246 MB, free: 3.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008258, allocations: 94.23 kB / 299.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.584e-05, allocations: 0 / 359.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2752, allocations: 52.54 MB / 412.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3755, allocations: 77.58 MB / 489.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3757, allocations: 61.25 kB / 489.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003953/0.3797, allocations: 1.641 MB / 491.4 MB, free: 7.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3798, allocations: 0 / 491.4 MB, free: 7.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3798, allocations: 4 kB / 491.4 MB, free: 7.125 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003807/0.3802, allocations: 378.3 kB / 491.8 MB, free: 6.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3802, allocations: 8.031 kB / 491.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.3803, allocations: 46.48 kB / 491.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.3803, allocations: 11.91 kB / 491.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3805, allocations: 178.9 kB / 492 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3805, allocations: 4 kB / 492 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3805, allocations: 8 kB / 492.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3807, allocations: 96.31 kB / 492.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3807, allocations: 0 / 492.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3808, allocations: 7.953 kB / 492.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3808, allocations: 0 / 492.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3809, allocations: 67.78 kB / 492.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.3816, allocations: 0.4898 MB / 492.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3819, allocations: 82.55 kB / 492.8 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.3819, allocations: 36.86 kB / 492.8 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.382, allocations: 4 kB / 492.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.382, allocations: 30.72 kB / 492.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 3.957e-06/0.382, allocations: 0 / 492.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002949/0.3823, allocations: 110.3 kB / 493 MB, free: 5.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3824, allocations: 51.41 kB / 493 MB, free: 5.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3825, allocations: 105.2 kB / 493.1 MB, free: 5.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3825, allocations: 29.7 kB / 493.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3826, allocations: 103.9 kB / 493.3 MB, free: 5.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.3826, allocations: 31.55 kB / 493.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.3826, allocations: 7.938 kB / 493.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3827, allocations: 318.8 kB / 493.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.3828, allocations: 19.94 kB / 493.6 MB, free: 4.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.3828, allocations: 34.08 kB / 493.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.3829, allocations: 24.12 kB / 493.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3829, allocations: 0 / 493.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.3831, allocations: 110.4 kB / 493.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3831, allocations: 8.031 kB / 493.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3831, allocations: 0 / 493.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.3833, allocations: 28.84 kB / 493.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.3834, allocations: 19.98 kB / 493.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.3845, allocations: 1.32 MB / 495.2 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.3845, allocations: 11.97 kB / 495.2 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3845, allocations: 4 kB / 495.2 MB, free: 2.984 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.3846, allocations: 105.8 kB / 495.3 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3847, allocations: 11.86 kB / 495.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.3847, allocations: 12.69 kB / 495.3 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.3847, allocations: 0 / 495.3 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3847, allocations: 4 kB / 495.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3847, allocations: 3.984 kB / 495.3 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3849, allocations: 193.6 kB / 495.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3849, allocations: 0 / 495.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.385, allocations: 15.98 kB / 495.5 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-05/0.3851, allocations: 32.73 kB / 495.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3851, allocations: 4 kB / 495.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000954/0.3861, allocations: 1.308 MB / 496.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3861, allocations: 0 / 496.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3864, allocations: 232.3 kB / 497.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.3865, allocations: 84.95 kB / 497.2 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.3865, allocations: 0 / 497.2 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.3866, allocations: 4.031 kB / 497.2 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3866, allocations: 11.98 kB / 497.2 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3867, allocations: 3.938 kB / 497.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.3867, allocations: 95.38 kB / 497.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3867, allocations: 0 / 497.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.387, allocations: 32 kB / 497.3 MB, free: 0.6133 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006815/0.3877, allocations: 0.764 MB / 498.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.388, allocations: 162.7 kB / 498.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.388, allocations: 0 / 498.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3881, allocations: 154.5 kB / 498.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.3884, allocations: 11.38 kB / 498.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.3889, allocations: 236.4 kB / 498.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3892, allocations: 0.7042 MB / 499.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.3893, allocations: 4.656 kB / 499.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3893, allocations: 23.44 kB / 499.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3893, allocations: 4 kB / 499.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.4036, allocations: 2.078 MB / 0.4897 GB, free: 12.49 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.4039, allocations: 159.5 kB / 0.4898 GB, free: 12.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.009, allocations: 3.938 kB / 0.4899 GB, free: 12.26 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Network_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)