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.001861/0.001861, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002433/0.002433, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.42/1.42, allocations: 230.5 MB / 254 MB, free: 15.16 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.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 0.001757/0.001757, allocations: 67.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1057, allocations: 53.37 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005494/0.1112, allocations: 4.13 MB / 430.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1133, allocations: 1.067 MB / 431.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.1135, allocations: 8 kB / 431.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1137, allocations: 83.14 kB / 431.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1141, allocations: 190.4 kB / 431.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.1146, allocations: 227.6 kB / 432.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008467/0.1154, allocations: 0.8251 MB / 432.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.1157, allocations: 124.8 kB / 433 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.1162, allocations: 330.9 kB / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.1166, allocations: 358.6 kB / 433.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1167, allocations: 84 kB / 433.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1168, allocations: 88 kB / 433.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.117, allocations: 163.5 kB / 434 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.1173, allocations: 334.4 kB / 434.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.1182, allocations: 0.8641 MB / 435.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1182, allocations: 3.938 kB / 435.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1182, allocations: 0 / 435.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1182, allocations: 0 / 435.2 MB, free: 11.74 MB / 366.1 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.002856/0.1211, allocations: 1.053 MB / 436.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1211, allocations: 8.031 kB / 436.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.1212, allocations: 70.72 kB / 436.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.1215, allocations: 76.48 kB / 436.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.1221, allocations: 426.2 kB / 436.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.1222, allocations: 29.38 kB / 436.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.1222, allocations: 44.3 kB / 436.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1237, allocations: 0.603 MB / 437.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1237, allocations: 4 kB / 437.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.1238, allocations: 12 kB / 437.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1238, allocations: 12 kB / 437.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.1257, allocations: 0.6362 MB / 438.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.1296, allocations: 2.169 MB / 440.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.1335, allocations: 0.8353 MB / 441.2 MB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.1346, allocations: 373.3 kB / 441.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.1346, allocations: 4.328 kB / 441.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.1358, allocations: 434.6 kB / 442 MB, free: 4.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.315e-06/0.1358, allocations: 0 / 442 MB, free: 4.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.01373/0.1495, allocations: 2.379 MB / 444.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.1496, allocations: 89.09 kB / 444.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.1501, allocations: 413.9 kB / 444.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.1502, allocations: 37.7 kB / 444.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.1504, allocations: 240.8 kB / 445.1 MB, free: 1.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.1505, allocations: 142.8 kB / 445.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.1507, allocations: 70.06 kB / 445.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1509, allocations: 358.7 kB / 445.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/0.1518, allocations: 296.6 kB / 446 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009655/0.1528, allocations: 342.1 kB / 446.3 MB, free: 312 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.194/0.3468, allocations: 0.5954 MB / 446.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3468, allocations: 1.188 kB / 446.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0039/0.3507, allocations: 0.9874 MB / 447.9 MB, free: 24.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.3507, allocations: 34.86 kB / 447.9 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3508, allocations: 3.812 kB / 447.9 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.352, allocations: 427 kB / 448.3 MB, free: 24.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.3525, allocations: 91.36 kB / 448.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.3607, allocations: 3.813 MB / 452.2 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.3614, allocations: 94.05 kB / 452.3 MB, free: 22.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.3615, allocations: 18.16 kB / 452.3 MB, free: 22.38 MB / 366.1 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.0003073/0.3618, allocations: 176.4 kB / 452.5 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3619, allocations: 48.97 kB / 452.6 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.3621, allocations: 56.16 kB / 452.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3621, allocations: 4.188 kB / 452.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3621, allocations: 1.031 kB / 452.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3621, allocations: 2.344 kB / 452.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.363, allocations: 0.6272 MB / 453.2 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.363, allocations: 0 / 453.2 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.3635, allocations: 80.56 kB / 453.3 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.3648, allocations: 436.1 kB / 453.7 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.3649, allocations: 13.17 kB / 453.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008799/0.3737, allocations: 3.807 MB / 457.6 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3737, allocations: 1.062 kB / 457.6 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006024/0.3797, allocations: 1.493 MB / 459.1 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.38, allocations: 186.9 kB / 459.2 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3801, allocations: 7.578 kB / 459.3 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.3807, allocations: 81.59 kB / 459.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.3809, allocations: 48.05 kB / 459.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.381, allocations: 13.52 kB / 459.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003818/0.3814, allocations: 294.6 kB / 459.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3814, allocations: 3.062 kB / 459.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.3821, allocations: 178.4 kB / 459.9 MB, free: 18.45 MB / 366.1 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.005806/0.3879, allocations: 2.048 MB / 461.9 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.3905, allocations: 0.9412 MB / 462.8 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3905, allocations: 3.562 kB / 462.9 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.392, allocations: 0.5749 MB / 463.4 MB, free: 16.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.3925, allocations: 93.36 kB / 463.5 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.4071, allocations: 5.956 MB / 469.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4075, allocations: 0.8408 MB / 470.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.4077, allocations: 47.36 kB / 470.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.408, allocations: 164.1 kB / 470.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.408, allocations: 0 / 470.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05628/0.4642, allocations: 18.63 MB / 489.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.34, allocations: 4.062 kB / 489.2 MB, free: 0.9727 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.855863615986891] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.435689619043842 13.449473018 13.328344734 Calling exit ...