Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json 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.001351/0.001351, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.001662/0.001662, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 55.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2483, allocations: 49.15 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003902/0.2522, allocations: 2.866 MB / 399.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2536, allocations: 0.8015 MB / 400 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2537, allocations: 9.312 kB / 400 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2539, allocations: 57.92 kB / 400.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.2541, allocations: 115 kB / 400.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.2546, allocations: 148.7 kB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.2551, allocations: 0.5327 MB / 400.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2553, allocations: 121 kB / 401 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.2556, allocations: 211 kB / 401.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.2559, allocations: 223.6 kB / 401.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.256, allocations: 51.44 kB / 401.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2561, allocations: 59.09 kB / 401.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.2562, allocations: 113.2 kB / 401.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.2564, allocations: 202.9 kB / 401.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.2569, allocations: 0.5511 MB / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.2569, allocations: 2.016 kB / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2569, allocations: 0 / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.2569, allocations: 0 / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001419/0.2583, allocations: 0.7271 MB / 403.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2584, allocations: 13.86 kB / 403.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.2585, allocations: 76.8 kB / 403.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.2585, allocations: 48.84 kB / 403.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.2589, allocations: 253.5 kB / 403.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.259, allocations: 32.75 kB / 403.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/0.259, allocations: 40.42 kB / 403.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2601, allocations: 0.6492 MB / 404.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2601, allocations: 0.6562 kB / 404.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.2601, allocations: 24.44 kB / 404.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2601, allocations: 8.719 kB / 404.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2614, allocations: 0.4986 MB / 404.7 MB, free: 3.875 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.2636, allocations: 1.239 MB / 406 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.2646, allocations: 392.2 kB / 406.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.2651, allocations: 227.5 kB / 406.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.2651, allocations: 7.141 kB / 406.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2652, allocations: 39.03 kB / 406.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.2652, allocations: 1.312 kB / 406.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004732/0.2699, allocations: 1.209 MB / 407.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2699, allocations: 164.6 kB / 408 MB, free: 2.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.2702, allocations: 276.3 kB / 408.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2703, allocations: 31.08 kB / 408.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.2704, allocations: 216.6 kB / 408.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.2705, allocations: 142.2 kB / 408.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2706, allocations: 75.33 kB / 408.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.2707, allocations: 343.2 kB / 409.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.2712, allocations: 188.9 kB / 409.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.2717, allocations: 384.5 kB / 409.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.2726, allocations: 420.9 kB / 410 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2726, allocations: 1.031 kB / 410 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001709/0.2743, allocations: 0.6749 MB / 410.7 MB, free: 496 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2743, allocations: 5.188 kB / 410.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2743, allocations: 2.719 kB / 410.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.2756, allocations: 318.1 kB / 411 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.2759, allocations: 76.97 kB / 411.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.2772, allocations: 1.351 MB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.2777, allocations: 74.73 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.2777, allocations: 16.88 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.278, allocations: 156.4 kB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.278, allocations: 36.48 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.2802, allocations: 0.7295 MB / 413.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.2802, allocations: 8.531 kB / 413.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2802, allocations: 3.938 kB / 413.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2802, allocations: 5.156 kB / 413.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.2808, allocations: 385.8 kB / 413.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2808, allocations: 1.062 kB / 413.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2811, allocations: 66.62 kB / 413.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.2823, allocations: 314.8 kB / 414.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.2823, allocations: 13.91 kB / 414.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.2837, allocations: 1.365 MB / 415.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2837, allocations: 0 / 415.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.2863, allocations: 1.005 MB / 416.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2864, allocations: 41.55 kB / 416.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.2865, allocations: 10.89 kB / 416.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.2869, allocations: 43.92 kB / 416.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.2869, allocations: 23.11 kB / 416.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.287, allocations: 17.17 kB / 416.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.2872, allocations: 188.2 kB / 416.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2872, allocations: 0 / 416.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.2877, allocations: 108.7 kB / 417 MB, free: 11.94 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003036/0.2907, allocations: 1.577 MB / 418.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.2921, allocations: 451.8 kB / 419.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2921, allocations: 1.438 kB / 419.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.2927, allocations: 241 kB / 419.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.2931, allocations: 42.36 kB / 419.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.3006, allocations: 4.051 MB / 423.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3008, allocations: 191 kB / 423.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3009, allocations: 30.92 kB / 423.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.3011, allocations: 119.4 kB / 423.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3011, allocations: 0 / 423.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.3407, allocations: 9.198 MB / 432.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.26, allocations: 11.91 kB / 432.9 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000989903 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.666582244914025] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.379112401045859 13.395295411 13.135283487 Calling exit ...