Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.conf.json 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.001861/0.001861, allocations: 103.9 kB / 16.39 MB, free: 6.383 MB / 14.72 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.567/1.567, allocations: 222.9 MB / 242.1 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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.001527/0.001527, allocations: 191.4 kB / 294.4 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04305/0.04305, allocations: 8.797 MB / 355.3 MB, free: 15.9 MB / 302.1 MB " [Timeout remaining time 180] 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.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004308/0.004308, allocations: 84.2 kB / 472.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2996, allocations: 51.56 MB / 0.5114 GB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003712/0.3034, allocations: 2.431 MB / 0.5138 GB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3046, allocations: 0.5699 MB / 0.5143 GB, free: 9.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.3047, allocations: 3.25 kB / 0.5143 GB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.3049, allocations: 31 kB / 0.5144 GB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.3051, allocations: 74.86 kB / 0.5144 GB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3053, allocations: 55.53 kB / 0.5145 GB, free: 9.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.3056, allocations: 246.1 kB / 0.5147 GB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.3058, allocations: 85.22 kB / 0.5148 GB, free: 9.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.306, allocations: 91.25 kB / 0.5149 GB, free: 9.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3062, allocations: 97.88 kB / 0.515 GB, free: 9.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.3062, allocations: 18.66 kB / 0.515 GB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.3062, allocations: 21.75 kB / 0.515 GB, free: 9.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.3063, allocations: 45.58 kB / 0.5151 GB, free: 9.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3065, allocations: 108.2 kB / 0.5152 GB, free: 9.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3068, allocations: 230.8 kB / 0.5154 GB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3068, allocations: 0 / 0.5154 GB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3068, allocations: 0 / 0.5154 GB, free: 9.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3068, allocations: 0 / 0.5154 GB, free: 9.059 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000877/0.3077, allocations: 0.5178 MB / 0.5159 GB, free: 8.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3078, allocations: 12.03 kB / 0.5159 GB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.3078, allocations: 50.73 kB / 0.5159 GB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.3079, allocations: 24.8 kB / 0.516 GB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.3082, allocations: 235.9 kB / 0.5162 GB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3083, allocations: 12.38 kB / 0.5162 GB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.3083, allocations: 20.38 kB / 0.5162 GB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.309, allocations: 191.3 kB / 0.5164 GB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.309, allocations: 4 kB / 0.5164 GB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.3091, allocations: 12 kB / 0.5164 GB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3091, allocations: 4 kB / 0.5164 GB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.3093, allocations: 119.8 kB / 0.5165 GB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3105, allocations: 0.7403 MB / 0.5173 GB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3108, allocations: 134.7 kB / 0.5174 GB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3109, allocations: 52.84 kB / 0.5174 GB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3109, allocations: 4 kB / 0.5174 GB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.3111, allocations: 91.38 kB / 0.5175 GB, free: 6.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3111, allocations: 0 / 0.5175 GB, free: 6.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007154/0.3118, allocations: 295.3 kB / 0.5178 GB, free: 6.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.3119, allocations: 55.41 kB / 0.5179 GB, free: 6.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.3121, allocations: 184 kB / 0.518 GB, free: 6.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3122, allocations: 29.7 kB / 0.5181 GB, free: 6.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3123, allocations: 140.4 kB / 0.5182 GB, free: 5.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.3124, allocations: 55.58 kB / 0.5183 GB, free: 5.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/0.3125, allocations: 33.7 kB / 0.5183 GB, free: 5.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3126, allocations: 330.8 kB / 0.5186 GB, free: 5.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.3127, allocations: 31.98 kB / 0.5186 GB, free: 5.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3128, allocations: 76.23 kB / 0.5187 GB, free: 5.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.313, allocations: 115.1 kB / 0.5188 GB, free: 5.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.313, allocations: 0 / 0.5188 GB, free: 5.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003577/0.3134, allocations: 190.2 kB / 0.519 GB, free: 5.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3134, allocations: 7.938 kB / 0.519 GB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3134, allocations: 4 kB / 0.519 GB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.3136, allocations: 28.83 kB / 0.519 GB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3138, allocations: 31.98 kB / 0.5191 GB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3152, allocations: 1.465 MB / 0.5205 GB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3153, allocations: 23.91 kB / 0.5205 GB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3153, allocations: 4 kB / 0.5205 GB, free: 3.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.3155, allocations: 148.1 kB / 0.5207 GB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3155, allocations: 19.84 kB / 0.5207 GB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.3156, allocations: 21.52 kB / 0.5207 GB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3156, allocations: 4 kB / 0.5207 GB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3156, allocations: 0 / 0.5207 GB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3156, allocations: 0 / 0.5207 GB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.3159, allocations: 253.6 kB / 0.521 GB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3159, allocations: 0 / 0.521 GB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.316, allocations: 23.94 kB / 0.521 GB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.3162, allocations: 36.77 kB / 0.521 GB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3162, allocations: 8 kB / 0.521 GB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.3175, allocations: 1.465 MB / 0.5225 GB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3175, allocations: 3.938 kB / 0.5225 GB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3179, allocations: 225.8 kB / 0.5227 GB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.3181, allocations: 108.9 kB / 0.5228 GB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3181, allocations: 12.06 kB / 0.5228 GB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3182, allocations: 11.98 kB / 0.5228 GB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.3183, allocations: 15.92 kB / 0.5228 GB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3183, allocations: 8 kB / 0.5228 GB, free: 0.7305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3184, allocations: 133.2 kB / 0.5229 GB, free: 0.6016 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3184, allocations: 0 / 0.5229 GB, free: 0.6016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3187, allocations: 55.89 kB / 0.523 GB, free: 0.5469 MB / 334.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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.0007335/0.3194, allocations: 0.772 MB / 0.5238 GB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3199, allocations: 222.6 kB / 0.524 GB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3199, allocations: 4.312 kB / 0.524 GB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3201, allocations: 166.6 kB / 0.5241 GB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3204, allocations: 39.91 kB / 0.5242 GB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.3229, allocations: 2.099 MB / 0.5262 GB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3233, allocations: 0.7359 MB / 0.5269 GB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.3234, allocations: 13.55 kB / 0.527 GB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.3235, allocations: 55.41 kB / 0.527 GB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3235, allocations: 0 / 0.527 GB, free: 12.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.354, allocations: 4.215 MB / 0.5311 GB, free: 8.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.36, allocations: 11.31 kB / 0.5311 GB, free: 8.137 MB / 350.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Thermal.Coupling_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Thermal_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.220115249976516] Failed to read output from testmodel.py, exit status != 0: 10.444929016986862 10.458195967 10.148688078 Calling exit ...