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.001364/0.001364, allocations: 104.9 kB / 21.96 MB, free: 5.215 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.001346/0.001346, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.356/1.356, allocations: 207.7 MB / 236.1 MB, free: 9.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",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.001781/0.001781, allocations: 59.91 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2391, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003369/0.2425, allocations: 2.844 MB / 400 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2436, allocations: 0.8112 MB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2437, allocations: 6.594 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.2439, allocations: 57.3 kB / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.244, allocations: 115.7 kB / 401 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.2444, allocations: 151.2 kB / 401.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.2448, allocations: 0.5335 MB / 401.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.245, allocations: 124.8 kB / 401.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.2452, allocations: 222.1 kB / 402 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.2455, allocations: 252.2 kB / 402.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.2455, allocations: 55.06 kB / 402.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2456, allocations: 55.17 kB / 402.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.2457, allocations: 110.1 kB / 402.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2459, allocations: 217.3 kB / 402.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.2464, allocations: 0.5517 MB / 403.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2464, allocations: 1.125 kB / 403.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2464, allocations: 0 / 403.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.2464, allocations: 0 / 403.2 MB, free: 5.203 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.001356/0.2478, allocations: 0.7262 MB / 403.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2478, allocations: 16.27 kB / 404 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.866e-05/0.2478, allocations: 10.22 kB / 404 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.2479, allocations: 74.42 kB / 404 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.248, allocations: 49.03 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.2483, allocations: 251.4 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2483, allocations: 24.5 kB / 404.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.2484, allocations: 35.84 kB / 404.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.2494, allocations: 0.6619 MB / 405.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2494, allocations: 0 / 405.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.2494, allocations: 16.09 kB / 405.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2495, allocations: 9.781 kB / 405.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2507, allocations: 0.4934 MB / 405.6 MB, free: 3.844 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.002077/0.2528, allocations: 1.251 MB / 406.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.2538, allocations: 395.9 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.2542, allocations: 221 kB / 407.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.2543, allocations: 10.3 kB / 407.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2543, allocations: 43.2 kB / 407.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.033e-06/0.2543, allocations: 4 kB / 407.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00456/0.2588, allocations: 1.21 MB / 408.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2589, allocations: 163.6 kB / 408.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.2592, allocations: 264 kB / 409.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2592, allocations: 31.05 kB / 409.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.2593, allocations: 212.9 kB / 409.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.2594, allocations: 150.3 kB / 409.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2595, allocations: 79.16 kB / 409.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2596, allocations: 341.5 kB / 409.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.26, allocations: 184.2 kB / 410.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.2605, allocations: 384.6 kB / 410.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.2614, allocations: 419.8 kB / 410.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2614, allocations: 1.25 kB / 410.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001637/0.263, allocations: 0.6748 MB / 411.5 MB, free: 464 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.263, allocations: 5.375 kB / 411.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.263, allocations: 2.594 kB / 411.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.2642, allocations: 325.7 kB / 411.9 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.2646, allocations: 81.16 kB / 412 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2659, allocations: 1.343 MB / 413.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.2664, allocations: 76.11 kB / 413.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.2664, allocations: 18.95 kB / 413.4 MB, free: 15.01 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.0002304/0.2666, allocations: 153.4 kB / 413.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.2667, allocations: 36.39 kB / 413.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.2689, allocations: 0.7288 MB / 414.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2689, allocations: 5.031 kB / 414.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2689, allocations: 3.938 kB / 414.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2689, allocations: 3.984 kB / 414.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.2695, allocations: 390.5 kB / 414.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2695, allocations: 1.406 kB / 414.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.2699, allocations: 58.11 kB / 414.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.271, allocations: 326 kB / 415.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2711, allocations: 7.562 kB / 415.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.2724, allocations: 1.36 MB / 416.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2724, allocations: 5.109 kB / 416.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.275, allocations: 1.008 MB / 417.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.275, allocations: 30.47 kB / 417.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.2751, allocations: 10.28 kB / 417.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2755, allocations: 43.44 kB / 417.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.2755, allocations: 28.42 kB / 417.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.2756, allocations: 15.98 kB / 417.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.2758, allocations: 196 kB / 417.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2758, allocations: 0 / 417.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.2763, allocations: 113.4 kB / 417.9 MB, free: 11.9 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.002855/0.2791, allocations: 1.569 MB / 419.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2803, allocations: 452.2 kB / 419.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2803, allocations: 5.312 kB / 419.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.2809, allocations: 240.4 kB / 420.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.2813, allocations: 39.3 kB / 420.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.2885, allocations: 4.053 MB / 424.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2887, allocations: 194.9 kB / 424.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.2889, allocations: 26.97 kB / 424.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.289, allocations: 119.4 kB / 424.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.289, allocations: 0 / 424.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.3222, allocations: 8.944 MB / 433.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.24, allocations: 4.062 kB / 433.5 MB, free: 13.91 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: 15.554167151101865] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.410881422110833 13.441513338 13.189390928 Calling exit ...