Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.001601/0.001601, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] 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.001579/0.001579, allocations: 191.4 kB / 24.49 MB, free: 3.941 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.384/1.384, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 43.94 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2449, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004483/0.2494, allocations: 2.911 MB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.2508, allocations: 0.7533 MB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.251, allocations: 4 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2512, allocations: 55.38 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.2514, allocations: 122.9 kB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.2518, allocations: 151.7 kB / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.2524, allocations: 0.5539 MB / 427.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.2527, allocations: 120.8 kB / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2529, allocations: 227.3 kB / 428.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.2533, allocations: 255 kB / 428.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.2533, allocations: 52 kB / 428.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.2535, allocations: 56 kB / 428.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2536, allocations: 111.6 kB / 428.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.2538, allocations: 207.1 kB / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.2544, allocations: 0.5526 MB / 429.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2544, allocations: 3.984 kB / 429.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2544, allocations: 0 / 429.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2544, allocations: 0 / 429.5 MB, free: 8.25 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001626/0.256, allocations: 0.7274 MB / 430.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2561, allocations: 12.03 kB / 430.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.671e-05/0.2561, allocations: 13.17 kB / 430.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.914e-05/0.2562, allocations: 74.72 kB / 430.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.2563, allocations: 48.66 kB / 430.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2567, allocations: 264.8 kB / 430.6 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2568, allocations: 29.38 kB / 430.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.2568, allocations: 36.38 kB / 430.7 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.258, allocations: 0.6472 MB / 431.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.258, allocations: 8 kB / 431.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.2581, allocations: 16 kB / 431.3 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2581, allocations: 8 kB / 431.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2594, allocations: 0.5035 MB / 431.8 MB, free: 5.746 MB / 334.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.002485/0.2619, allocations: 1.251 MB / 433.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.263, allocations: 391.7 kB / 433.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/0.2635, allocations: 227.2 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.2635, allocations: 4.328 kB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2636, allocations: 42.83 kB / 433.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.2636, allocations: 0 / 433.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004911/0.2685, allocations: 1.21 MB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.2686, allocations: 166.2 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2689, allocations: 272.2 kB / 435.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.269, allocations: 33.7 kB / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2691, allocations: 212.7 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.2692, allocations: 142.8 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2694, allocations: 78.08 kB / 435.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2696, allocations: 342.8 kB / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.27, allocations: 184.8 kB / 436.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.2707, allocations: 385.3 kB / 436.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.2717, allocations: 430.5 kB / 437.2 MB, free: 184 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2717, allocations: 0 / 437.2 MB, free: 184 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001824/0.2735, allocations: 0.6782 MB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2735, allocations: 4 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2735, allocations: 4 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.2748, allocations: 317.4 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.2751, allocations: 75.88 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2766, allocations: 1.354 MB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.277, allocations: 76.05 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.277, allocations: 19.98 kB / 439.7 MB, free: 13.59 MB / 350.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.000205/0.2773, allocations: 165.7 kB / 439.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.2773, allocations: 35.77 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.2795, allocations: 0.7123 MB / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2795, allocations: 4 kB / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2795, allocations: 0 / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.2795, allocations: 3.984 kB / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.2801, allocations: 388.1 kB / 441 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2801, allocations: 0 / 441 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.2804, allocations: 63.89 kB / 441 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.2816, allocations: 317.4 kB / 441.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.2816, allocations: 12 kB / 441.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.2831, allocations: 1.358 MB / 442.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2831, allocations: 0 / 442.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.2856, allocations: 1.016 MB / 443.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.2857, allocations: 35.73 kB / 443.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.2858, allocations: 8 kB / 443.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.2861, allocations: 48 kB / 443.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.2862, allocations: 23.95 kB / 443.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.2862, allocations: 12 kB / 443.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.2865, allocations: 199 kB / 444 MB, free: 9.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2865, allocations: 4 kB / 444 MB, free: 9.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.2869, allocations: 107.8 kB / 444.2 MB, free: 8.957 MB / 350.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.00296/0.2899, allocations: 1.568 MB / 445.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.2911, allocations: 455.5 kB / 446.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2912, allocations: 0 / 446.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.2917, allocations: 240.1 kB / 446.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2922, allocations: 48.8 kB / 446.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.2997, allocations: 4.077 MB / 450.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.2999, allocations: 191 kB / 450.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3, allocations: 30.97 kB / 450.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3002, allocations: 123.4 kB / 450.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3002, allocations: 0 / 450.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.3343, allocations: 8.994 MB / 459.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.4, allocations: 4.062 kB / 459.9 MB, free: 9.281 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.694690120057203] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.569443917018361 13.591232767 13.332789997 Calling exit ...