Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002309/0.002309, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 59.89 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3118, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004742/0.3166, allocations: 2.927 MB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3181, allocations: 0.8117 MB / 435.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.3182, allocations: 11.94 kB / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3185, allocations: 59.36 kB / 435.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.3187, allocations: 118.9 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.3191, allocations: 159.7 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.3196, allocations: 0.5462 MB / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.3199, allocations: 128.7 kB / 436.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.3203, allocations: 227.3 kB / 436.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.3206, allocations: 263 kB / 437.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.3207, allocations: 52 kB / 437.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3208, allocations: 56 kB / 437.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3209, allocations: 123.5 kB / 437.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.3212, allocations: 195.2 kB / 437.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.3218, allocations: 0.5642 MB / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3218, allocations: 0 / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3218, allocations: 0 / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3218, allocations: 0 / 438.1 MB, free: 236 kB / 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.00162/0.3235, allocations: 0.735 MB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3235, allocations: 8.031 kB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.127e-05/0.3235, allocations: 21.06 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.033e-05/0.3236, allocations: 78.7 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.3238, allocations: 56.61 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.3243, allocations: 269.2 kB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3243, allocations: 29.38 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.3244, allocations: 36.56 kB / 439.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.3256, allocations: 0.6511 MB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3256, allocations: 7.938 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.3256, allocations: 16 kB / 440 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.3257, allocations: 8 kB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.327, allocations: 0.4996 MB / 440.5 MB, free: 13.7 MB / 350.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.002415/0.3294, allocations: 1.243 MB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3305, allocations: 398.7 kB / 442.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.331, allocations: 220.8 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.3311, allocations: 12.31 kB / 442.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3311, allocations: 38.89 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.3311, allocations: 0 / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004824/0.3359, allocations: 1.207 MB / 443.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.795e-05/0.336, allocations: 170.2 kB / 443.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.3364, allocations: 268.2 kB / 444.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/0.3364, allocations: 29.7 kB / 444.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3366, allocations: 220.7 kB / 444.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3367, allocations: 138.8 kB / 444.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.3368, allocations: 78.08 kB / 444.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.337, allocations: 342.8 kB / 444.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.3375, allocations: 184.7 kB / 445 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.3382, allocations: 389.3 kB / 445.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.3391, allocations: 430.5 kB / 445.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3391, allocations: 4 kB / 445.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001783/0.3409, allocations: 0.6705 MB / 446.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3409, allocations: 4 kB / 446.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.341, allocations: 7.938 kB / 446.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.3423, allocations: 313.5 kB / 446.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.3426, allocations: 87.86 kB / 446.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.344, allocations: 1.351 MB / 448.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.3444, allocations: 79.78 kB / 448.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.3445, allocations: 16 kB / 448.4 MB, free: 5.547 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.0002166/0.3447, allocations: 153.8 kB / 448.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.3448, allocations: 35.77 kB / 448.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.3468, allocations: 0.7201 MB / 449.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3468, allocations: 4 kB / 449.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3469, allocations: 3.938 kB / 449.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3469, allocations: 4 kB / 449.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.3474, allocations: 384.3 kB / 449.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3474, allocations: 3.938 kB / 449.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.3477, allocations: 55.95 kB / 449.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3488, allocations: 317.4 kB / 450 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3489, allocations: 11.98 kB / 450 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.3502, allocations: 1.358 MB / 451.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3502, allocations: 0 / 451.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.3527, allocations: 1.02 MB / 452.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.3528, allocations: 35.67 kB / 452.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.3528, allocations: 16.06 kB / 452.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.3532, allocations: 39.95 kB / 452.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3533, allocations: 35.66 kB / 452.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.3533, allocations: 16 kB / 452.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.3536, allocations: 195.1 kB / 452.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3536, allocations: 0 / 452.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.354, allocations: 115.7 kB / 452.9 MB, free: 0.9023 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.002938/0.357, allocations: 1.564 MB / 454.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.3582, allocations: 464 kB / 454.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3582, allocations: 7.938 kB / 454.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.3589, allocations: 240 kB / 455.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3593, allocations: 40.64 kB / 455.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/0.3666, allocations: 4.069 MB / 459.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.3668, allocations: 191 kB / 459.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.3669, allocations: 34.97 kB / 459.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.3671, allocations: 123.4 kB / 459.6 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3671, allocations: 0 / 459.6 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/0.4159, allocations: 9.016 MB / 468.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.6, allocations: 10.02 kB / 468.6 MB, free: 1.152 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.169731912901625] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.768584119039588 13.78490006 13.459720246 Calling exit ...