Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",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.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.373/1.373, allocations: 222.9 MB / 238.9 MB, free: 4.727 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.001398/0.001398, allocations: 196.5 kB / 289.2 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0351/0.0351, allocations: 8.788 MB / 348.1 MB, free: 4.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 78.83 kB / 410.5 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08652, allocations: 51.55 MB / 462.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.004113/0.09067, allocations: 2.068 MB / 464.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004832/0.09118, allocations: 159.5 kB / 464.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.09131, allocations: 0 / 464.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.09146, allocations: 15.86 kB / 464.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.09166, allocations: 59.53 kB / 464.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.09182, allocations: 39.97 kB / 464.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.09227, allocations: 493.9 kB / 464.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.09262, allocations: 244.8 kB / 465.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.09281, allocations: 151.4 kB / 465.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.0931, allocations: 167.3 kB / 465.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.09316, allocations: 24 kB / 465.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.09324, allocations: 24 kB / 465.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.09335, allocations: 75.67 kB / 465.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.09358, allocations: 187.2 kB / 465.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.09407, allocations: 0.53 MB / 466.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.09409, allocations: 0 / 466.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09409, allocations: 0 / 466.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.09411, allocations: 0 / 466.3 MB, free: 10.55 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001131/0.09525, allocations: 0.6473 MB / 466.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.0953, allocations: 12.03 kB / 466.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.09539, allocations: 66.72 kB / 467 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.09547, allocations: 32.56 kB / 467 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.09584, allocations: 311.8 kB / 467.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.09587, allocations: 21.03 kB / 467.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.09593, allocations: 40.27 kB / 467.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.09656, allocations: 390.5 kB / 467.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.09659, allocations: 11.94 kB / 467.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.09662, allocations: 8 kB / 467.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.09665, allocations: 12.66 kB / 467.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.09724, allocations: 362.4 kB / 468.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.09881, allocations: 1.417 MB / 469.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.09945, allocations: 383.9 kB / 469.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.09973, allocations: 203.1 kB / 470.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.09975, allocations: 4 kB / 470.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.09977, allocations: 30.56 kB / 470.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.09978, allocations: 0 / 470.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001485/0.1013, allocations: 0.8561 MB / 471 MB, free: 5.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1013, allocations: 63.28 kB / 471.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1015, allocations: 219.4 kB / 471.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1015, allocations: 29.7 kB / 471.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.1016, allocations: 164.3 kB / 471.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.1017, allocations: 87.14 kB / 471.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.1018, allocations: 41.7 kB / 471.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1019, allocations: 330.8 kB / 472 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1021, allocations: 111.9 kB / 472.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.1023, allocations: 125.4 kB / 472.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.1027, allocations: 280.9 kB / 472.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1027, allocations: 0 / 472.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000663/0.1034, allocations: 427.7 kB / 472.9 MB, free: 3.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1034, allocations: 4 kB / 472.9 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1034, allocations: 4 kB / 472.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.1038, allocations: 146.4 kB / 473 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1039, allocations: 39.91 kB / 473.1 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.1075, allocations: 4.695 MB / 477.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1077, allocations: 35.92 kB / 477.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1077, allocations: 4 kB / 477.8 MB, free: 14.22 MB / 318.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1079, allocations: 205.7 kB / 478 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1079, allocations: 19.8 kB / 478 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.108, allocations: 33.88 kB / 478.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.108, allocations: 4 kB / 478.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.108, allocations: 0 / 478.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.108, allocations: 0 / 478.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1085, allocations: 429.2 kB / 478.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1085, allocations: 0 / 478.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.1087, allocations: 39.91 kB / 478.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.109, allocations: 142.6 kB / 478.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.109, allocations: 8 kB / 478.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/0.1124, allocations: 4.692 MB / 483.4 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1124, allocations: 3.938 kB / 483.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.1133, allocations: 0.6633 MB / 484 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1134, allocations: 104.8 kB / 484.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1134, allocations: 8 kB / 484.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1136, allocations: 23.92 kB / 484.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.1136, allocations: 23.91 kB / 484.2 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1137, allocations: 4 kB / 484.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1138, allocations: 171.9 kB / 484.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1138, allocations: 0 / 484.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005698/0.1144, allocations: 107.7 kB / 484.5 MB, free: 7.051 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.1156, allocations: 1.203 MB / 485.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008696/0.1165, allocations: 0.6521 MB / 486.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1165, allocations: 0 / 486.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.1171, allocations: 0.5233 MB / 486.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1174, allocations: 50.58 kB / 486.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.1218, allocations: 3.615 MB / 490.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.1222, allocations: 0.8456 MB / 491.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1224, allocations: 57.88 kB / 491.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1225, allocations: 83.41 kB / 491.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1225, allocations: 0 / 491.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.1416, allocations: 6.85 MB / 498.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.142, allocations: 201.6 kB / 498.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.849, allocations: 4 kB / 498.5 MB, free: 8.801 MB / 334.1 MB (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_TestLongRod_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)