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.001301/0.001301, allocations: 107.6 kB / 21.18 MB, free: 0.5781 MB / 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.002067/0.002067, allocations: 216 kB / 24.48 MB, free: 3.867 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.359/1.359, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001727/0.001727, allocations: 49.5 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2386, allocations: 49.14 MB / 396.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00375/0.2424, allocations: 2.87 MB / 399.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2437, allocations: 0.8052 MB / 400 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2438, allocations: 6.188 kB / 400 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.244, allocations: 62.3 kB / 400.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2442, allocations: 115.2 kB / 400.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.2445, allocations: 151.3 kB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.2449, allocations: 0.5295 MB / 400.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2451, allocations: 112.7 kB / 401 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.2454, allocations: 218.1 kB / 401.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.2456, allocations: 225 kB / 401.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.2457, allocations: 51.84 kB / 401.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2459, allocations: 58.52 kB / 401.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.2459, allocations: 114 kB / 401.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2461, allocations: 204.2 kB / 401.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.2466, allocations: 0.5527 MB / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2466, allocations: 1.453 kB / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2466, allocations: 0 / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2467, allocations: 1.312 kB / 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.001387/0.248, allocations: 0.7245 MB / 403.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2481, allocations: 12.89 kB / 403.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.2482, allocations: 79.86 kB / 403.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.2482, allocations: 48.34 kB / 403.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2486, allocations: 249.9 kB / 403.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.2487, allocations: 28.03 kB / 403.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.2487, allocations: 31.69 kB / 403.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2497, allocations: 0.6617 MB / 404.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2498, allocations: 1.094 kB / 404.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2498, allocations: 19.97 kB / 404.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2498, allocations: 9.188 kB / 404.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2511, allocations: 0.4913 MB / 404.7 MB, free: 3.891 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.002191/0.2533, allocations: 1.242 MB / 406 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2543, allocations: 408.9 kB / 406.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.2548, allocations: 214.5 kB / 406.6 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.2548, allocations: 12.84 kB / 406.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2548, allocations: 38.25 kB / 406.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.2548, allocations: 4 kB / 406.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004642/0.2595, allocations: 1.21 MB / 407.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.2595, allocations: 164 kB / 408 MB, free: 2.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2599, allocations: 268.3 kB / 408.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.2599, allocations: 32.11 kB / 408.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.26, allocations: 211.7 kB / 408.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.2601, allocations: 151.7 kB / 408.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2602, allocations: 74.33 kB / 408.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.2603, allocations: 342.1 kB / 409.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.2608, allocations: 185.7 kB / 409.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.2613, allocations: 385 kB / 409.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.2622, allocations: 416.6 kB / 410 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2622, allocations: 0 / 410 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001693/0.2639, allocations: 0.6792 MB / 410.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.264, allocations: 5.5 kB / 410.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.264, allocations: 2.844 kB / 410.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.2652, allocations: 317.9 kB / 411 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.2655, allocations: 85.34 kB / 411.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.2668, allocations: 1.354 MB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.2673, allocations: 75.73 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.2673, allocations: 17.47 kB / 412.6 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.0002065/0.2675, allocations: 153 kB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.2676, allocations: 35.55 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.2697, allocations: 0.7326 MB / 413.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2697, allocations: 4.125 kB / 413.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2697, allocations: 0 / 413.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2697, allocations: 1.344 kB / 413.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.2703, allocations: 386 kB / 413.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2703, allocations: 3.984 kB / 413.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.2705, allocations: 54.7 kB / 413.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.2717, allocations: 330.9 kB / 414.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.2718, allocations: 7.25 kB / 414.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.2731, allocations: 1.356 MB / 415.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2731, allocations: 4.125 kB / 415.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.2757, allocations: 1.012 MB / 416.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.2758, allocations: 38.61 kB / 416.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.2759, allocations: 13.67 kB / 416.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.2762, allocations: 39.95 kB / 416.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.2763, allocations: 23.3 kB / 416.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.2763, allocations: 20.73 kB / 416.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.2766, allocations: 187.4 kB / 416.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2766, allocations: 1.062 kB / 416.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.277, allocations: 109.2 kB / 417 MB, free: 11.95 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.002978/0.28, allocations: 1.562 MB / 418.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.2813, allocations: 455.8 kB / 419 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2813, allocations: 4.125 kB / 419.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.2819, allocations: 237.9 kB / 419.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.2823, allocations: 55.06 kB / 419.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.2897, allocations: 4.047 MB / 423.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2899, allocations: 195 kB / 423.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.2901, allocations: 30.97 kB / 423.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2902, allocations: 115.4 kB / 423.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2902, allocations: 0 / 423.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.3281, allocations: 9.198 MB / 432.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.4, allocations: 3.859 kB / 432.9 MB, free: 13.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 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: 14.64820906193927] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.520802814979106 12.548262613 12.296699632 Calling exit ...