Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001708/0.001708, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00214/0.00214, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 378.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2504, allocations: 53.36 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005682/0.2561, allocations: 4.041 MB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.259, allocations: 1.636 MB / 437.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.2592, allocations: 11.94 kB / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.26, allocations: 254.7 kB / 437.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.2607, allocations: 306.1 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.2612, allocations: 274.5 kB / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.262, allocations: 0.724 MB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.2622, allocations: 118.5 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.2626, allocations: 295 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.263, allocations: 302.8 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.2631, allocations: 52 kB / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.2633, allocations: 111.9 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2635, allocations: 147.5 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.2637, allocations: 310.3 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.2646, allocations: 0.7155 MB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2646, allocations: 0 / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2646, allocations: 0 / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2646, allocations: 0 / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001626/0.2662, allocations: 0.8927 MB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2662, allocations: 8.031 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.602e-05/0.2663, allocations: 78.72 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.2665, allocations: 84.45 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.2671, allocations: 369.2 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.2671, allocations: 33.36 kB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.2672, allocations: 39.94 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.2679, allocations: 441.5 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2679, allocations: 4 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.268, allocations: 16 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.268, allocations: 8 kB / 443.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.2686, allocations: 315.8 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.2709, allocations: 1.653 MB / 445.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.2716, allocations: 327.1 kB / 445.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.2719, allocations: 155.5 kB / 445.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.2719, allocations: 11.92 kB / 445.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.2724, allocations: 258.4 kB / 445.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.2724, allocations: 4 kB / 445.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001991/0.2743, allocations: 0.7042 MB / 446.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.2745, allocations: 199.8 kB / 446.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.2751, allocations: 0.5019 MB / 447.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.2751, allocations: 33.7 kB / 447.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.2753, allocations: 260.7 kB / 447.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2754, allocations: 131 kB / 447.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.2756, allocations: 74.12 kB / 447.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2758, allocations: 362.7 kB / 448.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.2761, allocations: 128.8 kB / 448.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2764, allocations: 213.2 kB / 448.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.2769, allocations: 277.1 kB / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2769, allocations: 0 / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008202/0.2777, allocations: 477 kB / 449.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2777, allocations: 4 kB / 449.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2777, allocations: 12.08 kB / 449.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/0.2782, allocations: 155.3 kB / 449.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.2785, allocations: 47.84 kB / 449.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.2839, allocations: 6.245 MB / 455.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.2842, allocations: 55.86 kB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.2843, allocations: 15.98 kB / 455.7 MB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.2845, allocations: 193 kB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.2846, allocations: 55.61 kB / 455.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.2857, allocations: 0.4934 MB / 456.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2857, allocations: 4 kB / 456.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2857, allocations: 3.938 kB / 456.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2857, allocations: 7.984 kB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.2862, allocations: 468.1 kB / 456.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2863, allocations: 0 / 456.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2864, allocations: 28.05 kB / 456.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.2868, allocations: 163.3 kB / 457.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.2868, allocations: 8 kB / 457.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005006/0.2918, allocations: 5.951 MB / 463 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2918, allocations: 0 / 463 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.2928, allocations: 0.4957 MB / 463.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.293, allocations: 87.48 kB / 463.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.2931, allocations: 12 kB / 463.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.2934, allocations: 27.97 kB / 463.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.2935, allocations: 59.91 kB / 463.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.2935, allocations: 8 kB / 463.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004379/0.294, allocations: 375 kB / 464.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.294, allocations: 0 / 464.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000757/0.2947, allocations: 171.7 kB / 464.2 MB, free: 5.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002613/0.2973, allocations: 1.374 MB / 465.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.2986, allocations: 0.7796 MB / 466.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2986, allocations: 4 kB / 466.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.2993, allocations: 0.6392 MB / 467 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.2998, allocations: 118.2 kB / 467.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.306, allocations: 4.293 MB / 471.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.3065, allocations: 0.8672 MB / 472.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.3067, allocations: 52.16 kB / 472.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.307, allocations: 171.4 kB / 472.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.307, allocations: 0 / 472.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/0.3657, allocations: 14.98 MB / 487.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.46, allocations: 4.062 kB / 487.5 MB, free: 13.91 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00118765 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.900912038050592] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 12.634689953178167 12.649708789 12.382169017 Calling exit ...