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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 238.9 MB, free: 4.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001444, allocations: 192.4 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03413/0.03413, allocations: 8.793 MB / 348.1 MB, free: 4.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 76 kB / 410.5 MB, free: 42.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.08722, allocations: 51.56 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002986/0.09025, allocations: 1.776 MB / 463.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.0906, allocations: 99.61 kB / 463.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.09071, allocations: 4 kB / 463.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.09079, allocations: 7.922 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.09092, allocations: 27.77 kB / 464 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.09107, allocations: 23.92 kB / 464 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.0912, allocations: 119.4 kB / 464.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.09134, allocations: 39.95 kB / 464.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.09139, allocations: 35.86 kB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.09148, allocations: 43.84 kB / 464.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.0915, allocations: 8 kB / 464.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.09153, allocations: 8 kB / 464.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.09155, allocations: 15.92 kB / 464.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.09162, allocations: 51.73 kB / 464.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.09175, allocations: 107.9 kB / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09176, allocations: 0 / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.09176, allocations: 4 kB / 464.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.09177, allocations: 0 / 464.4 MB, free: 12.4 MB / 302.1 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.0004634/0.09224, allocations: 399.1 kB / 464.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.09231, allocations: 12.03 kB / 464.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.09236, allocations: 38.75 kB / 464.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.0924, allocations: 8.844 kB / 464.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.09252, allocations: 180.2 kB / 465 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.09255, allocations: 8.375 kB / 465.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.09258, allocations: 12.38 kB / 465.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.09278, allocations: 102.1 kB / 465.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.0928, allocations: 3.938 kB / 465.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.09282, allocations: 0 / 465.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.09283, allocations: 4 kB / 465.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.09297, allocations: 67.77 kB / 465.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.09365, allocations: 0.4897 MB / 465.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.09389, allocations: 82.48 kB / 465.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.09397, allocations: 40.84 kB / 465.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.09399, allocations: 0 / 465.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.09401, allocations: 34.56 kB / 465.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.09402, allocations: 4 kB / 465.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.09455, allocations: 223.5 kB / 466.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.0946, allocations: 51.41 kB / 466.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.09469, allocations: 113.8 kB / 466.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.09471, allocations: 29.7 kB / 466.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.09477, allocations: 107.9 kB / 466.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.0948, allocations: 27.56 kB / 466.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.09485, allocations: 29.7 kB / 466.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.09495, allocations: 310.8 kB / 466.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.095, allocations: 23.98 kB / 466.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.09505, allocations: 33.7 kB / 466.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.09514, allocations: 57.66 kB / 466.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09515, allocations: 3.938 kB / 466.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.09536, allocations: 114.4 kB / 467 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.09539, allocations: 4 kB / 467 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.0954, allocations: 0 / 467 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.09558, allocations: 28.78 kB / 467 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.09566, allocations: 19.98 kB / 467 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.0967, allocations: 1.324 MB / 468.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.09676, allocations: 11.94 kB / 468.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.09677, allocations: 0 / 468.4 MB, free: 8.016 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.435e-05/0.09688, allocations: 131.8 kB / 468.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.09691, allocations: 4.641 kB / 468.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.09694, allocations: 16.38 kB / 468.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.09695, allocations: 3.938 kB / 468.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.09695, allocations: 0 / 468.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.09696, allocations: 0 / 468.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.09716, allocations: 201.5 kB / 468.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.09717, allocations: 0 / 468.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.09726, allocations: 19.88 kB / 468.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.631e-05/0.09737, allocations: 28.84 kB / 468.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.09739, allocations: 4 kB / 468.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008529/0.09824, allocations: 1.324 MB / 470.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09826, allocations: 320 / 470.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.09853, allocations: 236.2 kB / 470.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.09858, allocations: 85.12 kB / 470.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.09859, allocations: 0 / 470.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.09867, allocations: 4.125 kB / 470.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.0987, allocations: 8 kB / 470.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.09871, allocations: 3.984 kB / 470.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.28e-05/0.09876, allocations: 91.28 kB / 470.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09877, allocations: 0 / 470.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.09904, allocations: 35.84 kB / 470.6 MB, free: 5.605 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005619/0.09961, allocations: 0.7522 MB / 471.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.09997, allocations: 170.6 kB / 471.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.09998, allocations: 0 / 471.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1001, allocations: 146.6 kB / 471.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1005, allocations: 24.52 kB / 471.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1021, allocations: 1.598 MB / 473.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1024, allocations: 0.7004 MB / 473.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.1024, allocations: 8.609 kB / 474 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.1025, allocations: 27.42 kB / 474 MB, free: 2.012 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1025, allocations: 0 / 474 MB, free: 2.012 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.1149, allocations: 2.218 MB / 476.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.1152, allocations: 197.8 kB / 476.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.728, allocations: 0 / 476.4 MB, free: 15.64 MB / 318.1 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/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)