Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008424/0.0008424, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008717/0.0008717, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8703/0.8703, allocations: 177.1 MB / 204.2 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 4 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.275e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003086/0.003109, allocations: 2.933 MB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.004428, allocations: 0.8233 MB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.004614, allocations: 11.94 kB / 328.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.004778, allocations: 59.38 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.004936, allocations: 118.8 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.00535, allocations: 171.6 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.005752, allocations: 0.5694 MB / 329.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.00596, allocations: 124.8 kB / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.006348, allocations: 319.4 kB / 329.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.006527, allocations: 191.5 kB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.006577, allocations: 52 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.006664, allocations: 63.94 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.006722, allocations: 119.5 kB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.00683, allocations: 167.6 kB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.007287, allocations: 0.5881 MB / 330.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.007291, allocations: 4 kB / 330.9 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007293, allocations: 0 / 330.9 MB, free: 9.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.007302, allocations: 4 kB / 330.9 MB, free: 9.602 MB / 298.7 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.001068/0.008369, allocations: 0.7186 MB / 331.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.008413, allocations: 12.03 kB / 331.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.008479, allocations: 78.7 kB / 331.7 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.008635, allocations: 60.61 kB / 331.7 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.00899, allocations: 264.4 kB / 332 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.009017, allocations: 29.38 kB / 332 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.009068, allocations: 36.38 kB / 332.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.009783, allocations: 0.6517 MB / 332.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.009796, allocations: 4.125 kB / 332.7 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.009826, allocations: 20.12 kB / 332.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.009834, allocations: 8 kB / 332.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.01056, allocations: 499.6 kB / 333.2 MB, free: 7.121 MB / 298.7 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.001626/0.01218, allocations: 1.251 MB / 334.5 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.01286, allocations: 410 kB / 334.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.01315, allocations: 221.4 kB / 335.1 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.01318, allocations: 8.312 kB / 335.1 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.0132, allocations: 38.89 kB / 335.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.953e-06/0.0132, allocations: 0 / 335.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002378/0.01558, allocations: 1.218 MB / 336.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.01565, allocations: 158.2 kB / 336.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.01586, allocations: 276.2 kB / 336.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.01589, allocations: 37.7 kB / 336.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.01598, allocations: 216.7 kB / 337 MB, free: 3.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.01608, allocations: 138.8 kB / 337.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.01617, allocations: 78.14 kB / 337.2 MB, free: 2.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.01625, allocations: 342.8 kB / 337.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.01652, allocations: 184.9 kB / 337.8 MB, free: 2.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.01691, allocations: 385.9 kB / 338.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.01747, allocations: 430.5 kB / 338.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01748, allocations: 0 / 338.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000965/0.01844, allocations: 0.6705 MB / 339.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01846, allocations: 11.94 kB / 339.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01847, allocations: 3.938 kB / 339.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.01916, allocations: 313.5 kB / 339.6 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.01934, allocations: 87.88 kB / 339.6 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009228/0.02026, allocations: 1.347 MB / 341 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.02048, allocations: 79.78 kB / 341.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.0205, allocations: 16 kB / 341.1 MB, free: 14.94 MB / 314.7 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.0001297/0.02063, allocations: 154 kB / 341.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.02067, allocations: 39.77 kB / 341.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.02179, allocations: 0.7162 MB / 342 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02179, allocations: 7.938 kB / 342 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.0218, allocations: 8 kB / 342 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.0218, allocations: 3.984 kB / 342 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.02213, allocations: 380.4 kB / 342.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.02214, allocations: 0 / 342.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.02229, allocations: 59.89 kB / 342.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/0.02288, allocations: 325.4 kB / 342.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.0229, allocations: 12 kB / 342.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009812/0.02388, allocations: 1.355 MB / 344.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.02388, allocations: 3.984 kB / 344.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.02524, allocations: 1.019 MB / 345.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.02528, allocations: 39.67 kB / 345.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.02531, allocations: 4 kB / 345.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.02549, allocations: 47.94 kB / 345.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.02554, allocations: 23.95 kB / 345.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.02555, allocations: 15.94 kB / 345.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.02569, allocations: 195.1 kB / 345.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02569, allocations: 4.062 kB / 345.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.02597, allocations: 111.8 kB / 345.6 MB, free: 10.29 MB / 314.7 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.00163/0.0276, allocations: 1.564 MB / 347.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007529/0.02836, allocations: 455.4 kB / 347.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02836, allocations: 0 / 347.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.02868, allocations: 244.2 kB / 347.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.02898, allocations: 44.58 kB / 347.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.03371, allocations: 4.014 MB / 351.9 MB, free: 3.809 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.03383, allocations: 198.9 kB / 352.1 MB, free: 3.598 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.03395, allocations: 34.97 kB / 352.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.03407, allocations: 124.5 kB / 352.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.03407, allocations: 0 / 352.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.05725, allocations: 9.401 MB / 361.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.735, allocations: 10.09 kB / 361.6 MB, free: 10.22 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.350178683176637] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.8319581570103765 7.84026681 7.831141164 Calling exit ...