Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.0009643/0.0009643, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 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.001255/0.001255, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9066/0.9066, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.SimpleTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.374e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003829/0.003853, allocations: 3.727 MB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.00537, allocations: 1.032 MB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.005564, allocations: 11.94 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.005791, allocations: 87.08 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.006037, allocations: 198.3 kB / 329.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.006477, allocations: 239.4 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.00695, allocations: 0.848 MB / 330.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.007135, allocations: 113.5 kB / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.007526, allocations: 482.9 kB / 331.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.007771, allocations: 279.3 kB / 331.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.007841, allocations: 84 kB / 331.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.007932, allocations: 84 kB / 331.7 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.008025, allocations: 167.4 kB / 331.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.008174, allocations: 243.4 kB / 332.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.008744, allocations: 0.9076 MB / 333 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.008747, allocations: 0 / 333 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008748, allocations: 0 / 333 MB, free: 7.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.008755, allocations: 0 / 333 MB, free: 7.391 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00147/0.01023, allocations: 0.9701 MB / 333.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01026, allocations: 11.98 kB / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.01032, allocations: 74.72 kB / 334 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.01046, allocations: 72.55 kB / 334.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.01088, allocations: 367.6 kB / 334.5 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.0109, allocations: 33.38 kB / 334.5 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.01095, allocations: 36.38 kB / 334.5 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.01189, allocations: 0.6246 MB / 335.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.0119, allocations: 192 / 335.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.01193, allocations: 20.12 kB / 335.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.01194, allocations: 8 kB / 335.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.01293, allocations: 0.6479 MB / 335.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01492, allocations: 1.952 MB / 337.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.01718, allocations: 0.8314 MB / 338.6 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.01773, allocations: 377.2 kB / 339 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.01776, allocations: 4.328 kB / 339 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006153/0.01838, allocations: 460.3 kB / 339.4 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.01838, allocations: 0 / 339.4 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.006247/0.02463, allocations: 2.305 MB / 341.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.02467, allocations: 85.11 kB / 341.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.02499, allocations: 421.9 kB / 342.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.02503, allocations: 33.7 kB / 342.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.02516, allocations: 236.9 kB / 342.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.02525, allocations: 142.8 kB / 342.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.02535, allocations: 70.06 kB / 342.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.02548, allocations: 358.7 kB / 343.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.02601, allocations: 326.4 kB / 343.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.02655, allocations: 401.8 kB / 343.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009411/0.02749, allocations: 0.5991 MB / 344.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02749, allocations: 0 / 344.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001787/0.02928, allocations: 1.023 MB / 345.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.02932, allocations: 36.98 kB / 345.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02932, allocations: 3.984 kB / 345.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/0.03012, allocations: 436.4 kB / 345.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.03036, allocations: 87.86 kB / 345.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.03494, allocations: 3.627 MB / 349.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.03525, allocations: 95.73 kB / 349.7 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.03527, allocations: 12.09 kB / 349.7 MB, free: 6.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.03545, allocations: 177.7 kB / 349.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.03549, allocations: 55.67 kB / 349.9 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.03556, allocations: 56.53 kB / 350 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.03556, allocations: 4 kB / 350 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.03557, allocations: 0 / 350 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.03557, allocations: 3.984 kB / 350 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.03597, allocations: 492.8 kB / 350.4 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.03598, allocations: 3.938 kB / 350.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.0362, allocations: 87.86 kB / 350.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006606/0.03686, allocations: 432.4 kB / 351 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.03689, allocations: 11.98 kB / 351 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/0.0415, allocations: 3.624 MB / 354.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.0415, allocations: 0 / 354.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.04437, allocations: 1.5 MB / 356.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.04453, allocations: 99.64 kB / 356.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.04457, allocations: 8 kB / 356.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.04481, allocations: 75.84 kB / 356.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.04491, allocations: 55.84 kB / 356.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.04493, allocations: 16.17 kB / 356.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.04514, allocations: 291.2 kB / 356.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04514, allocations: 0 / 356.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.04552, allocations: 183.8 kB / 356.8 MB, free: 14.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003077/0.0486, allocations: 2.045 MB / 358.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.05, allocations: 0.9636 MB / 359.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.05, allocations: 8.062 kB / 359.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.05078, allocations: 0.5724 MB / 360.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.05107, allocations: 93.47 kB / 360.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008274/0.05935, allocations: 6.027 MB / 366.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.0595, allocations: 244.8 kB / 366.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.05965, allocations: 47.38 kB / 366.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.05983, allocations: 164.4 kB / 367 MB, free: 4.504 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05983, allocations: 0 / 367 MB, free: 4.504 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.08893, allocations: 19.2 MB / 386.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.012, allocations: 9.844 kB / 386.2 MB, free: 1.461 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-12 --interface-type ModelExchange --solver CVode --output-interval 5e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.834657486528158] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 8.109276465140283 8.118740263 8.108083929 Calling exit ...