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.001325/0.001325, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001687/0.001687, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.46/1.46, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002014/0.002014, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.33 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005754/0.1142, allocations: 4.005 MB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2031/0.3173, allocations: 1.621 MB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.3178, allocations: 13.53 kB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.3186, allocations: 249.4 kB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.3194, allocations: 302.7 kB / 433.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.32, allocations: 269 kB / 433.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000656/0.3207, allocations: 0.7155 MB / 434.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3209, allocations: 126.7 kB / 434.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.3213, allocations: 291.4 kB / 434.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.3216, allocations: 310.9 kB / 434.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.74e-05/0.3217, allocations: 51.28 kB / 434.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.3219, allocations: 99.97 kB / 435 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3221, allocations: 152.6 kB / 435.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.3223, allocations: 305.8 kB / 435.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009111/0.3232, allocations: 0.7216 MB / 436.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3232, allocations: 4.453 kB / 436.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3232, allocations: 3.719 kB / 436.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3232, allocations: 1.156 kB / 436.2 MB, free: 6.969 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.001699/0.3249, allocations: 0.9626 MB / 437.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.325, allocations: 8.844 kB / 437.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.954e-05/0.3251, allocations: 76.61 kB / 437.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.3253, allocations: 83.08 kB / 437.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.3258, allocations: 430.8 kB / 437.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.3259, allocations: 34.02 kB / 437.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.3259, allocations: 43.09 kB / 437.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.3266, allocations: 438.4 kB / 438.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3266, allocations: 4.594 kB / 438.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.3267, allocations: 17.28 kB / 438.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3267, allocations: 9.688 kB / 438.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.3273, allocations: 311 kB / 438.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.3295, allocations: 1.702 MB / 440.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.3302, allocations: 327 kB / 440.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.3305, allocations: 157.8 kB / 440.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3305, allocations: 5.328 kB / 440.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.3309, allocations: 266.8 kB / 441 MB, free: 4.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.983e-06/0.3309, allocations: 0 / 441 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002062/0.333, allocations: 1.008 MB / 442.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.333, allocations: 198.4 kB / 442.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.3337, allocations: 0.5038 MB / 442.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.3337, allocations: 38.98 kB / 442.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3338, allocations: 252.9 kB / 443 MB, free: 2.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/0.3339, allocations: 134.6 kB / 443.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.3341, allocations: 74.89 kB / 443.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.3342, allocations: 358.4 kB / 443.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.3344, allocations: 121 kB / 443.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.3347, allocations: 212.9 kB / 443.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.3352, allocations: 278.5 kB / 444.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3352, allocations: 0 / 444.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007648/0.3359, allocations: 470.9 kB / 444.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.336, allocations: 6.234 kB / 444.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.336, allocations: 1.188 kB / 444.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.3364, allocations: 162.8 kB / 444.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.3367, allocations: 43.61 kB / 444.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/0.3422, allocations: 6.658 MB / 451.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.3428, allocations: 61.45 kB / 451.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.3428, allocations: 15.75 kB / 451.6 MB, free: 11.2 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.0003264/0.3431, allocations: 187.4 kB / 451.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3432, allocations: 61.84 kB / 451.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3434, allocations: 63.12 kB / 451.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3434, allocations: 3.938 kB / 451.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3434, allocations: 0.75 kB / 451.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3434, allocations: 7.031 kB / 451.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.344, allocations: 491.8 kB / 452.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.344, allocations: 0 / 452.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3442, allocations: 29.2 kB / 452.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.3446, allocations: 162.6 kB / 452.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3446, allocations: 7.438 kB / 452.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005731/0.3504, allocations: 6.37 MB / 459 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3504, allocations: 0 / 459 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3515, allocations: 0.4986 MB / 459.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.3517, allocations: 163 kB / 459.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.3518, allocations: 9.484 kB / 459.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.3521, allocations: 35.52 kB / 459.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.3522, allocations: 49.45 kB / 459.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.3522, allocations: 13.84 kB / 459.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005037/0.3528, allocations: 367.5 kB / 460.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3528, allocations: 0 / 460.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008698/0.3536, allocations: 169.7 kB / 460.2 MB, free: 3.742 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.002814/0.3564, allocations: 1.378 MB / 461.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.3578, allocations: 0.7834 MB / 462.4 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3578, allocations: 5.25 kB / 462.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007973/0.3586, allocations: 0.6363 MB / 463 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.3591, allocations: 116.8 kB / 463.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/0.3659, allocations: 4.283 MB / 467.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.3665, allocations: 0.8605 MB / 468.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.3668, allocations: 51.83 kB / 468.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.3671, allocations: 175 kB / 468.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3671, allocations: 0 / 468.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/0.4218, allocations: 14.66 MB / 483.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.02, allocations: 3 kB / 483.2 MB, free: 6.289 MB / 382.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: 15.610701141413301] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.175481698010117 13.202818452 12.874015157 Calling exit ...