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.001774/0.001774, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002243/0.002243, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.00189/0.00189, allocations: 63.89 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2545, allocations: 53.41 MB / 431.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005277/0.2597, allocations: 3.702 MB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2617, allocations: 1.028 MB / 435.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.2619, allocations: 11.94 kB / 435.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2622, allocations: 91.12 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.2625, allocations: 186.4 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.263, allocations: 231.6 kB / 436.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.2638, allocations: 0.8289 MB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.2641, allocations: 113.4 kB / 437.3 MB, free: 200 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.2647, allocations: 330.9 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.2651, allocations: 322.6 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2652, allocations: 84 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2654, allocations: 84 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.2655, allocations: 159.5 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.2659, allocations: 286.8 kB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009628/0.2668, allocations: 0.864 MB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2668, allocations: 0 / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2668, allocations: 0 / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.2668, allocations: 3.938 kB / 439.4 MB, free: 14.08 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00269/0.2695, allocations: 0.974 MB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.2696, allocations: 15.98 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.6e-05/0.2697, allocations: 74.72 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.2699, allocations: 68.55 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.2705, allocations: 380.3 kB / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.2706, allocations: 33.36 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.2707, allocations: 36.38 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.2722, allocations: 0.6242 MB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.2722, allocations: 7.938 kB / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.2722, allocations: 16 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2722, allocations: 8 kB / 441.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.2742, allocations: 0.6362 MB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.2779, allocations: 1.955 MB / 444.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.2817, allocations: 0.8349 MB / 445.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.2828, allocations: 365.3 kB / 445.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.2828, allocations: 12.3 kB / 445.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.284, allocations: 460.3 kB / 445.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.284, allocations: 4 kB / 445.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0137/0.2977, allocations: 2.309 MB / 448.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.2978, allocations: 85.11 kB / 448.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.2983, allocations: 421.9 kB / 448.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.2984, allocations: 33.7 kB / 448.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.2986, allocations: 232.9 kB / 449 MB, free: 4.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2987, allocations: 138.8 kB / 449.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2989, allocations: 74.06 kB / 449.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2991, allocations: 358.7 kB / 449.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009583/0.3, allocations: 338.2 kB / 449.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.301, allocations: 393.5 kB / 450.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.3028, allocations: 0.5952 MB / 450.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3028, allocations: 3.938 kB / 450.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003514/0.3063, allocations: 1.019 MB / 451.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.3064, allocations: 33.7 kB / 451.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3064, allocations: 7.984 kB / 451.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.3077, allocations: 428.4 kB / 452.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.3082, allocations: 91.86 kB / 452.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008669/0.3168, allocations: 3.628 MB / 456 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.3176, allocations: 91.73 kB / 456.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.3176, allocations: 16 kB / 456.2 MB, free: 12.89 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.0002874/0.3179, allocations: 179.3 kB / 456.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.318, allocations: 55.67 kB / 456.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3181, allocations: 48.53 kB / 456.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3181, allocations: 4 kB / 456.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3181, allocations: 0 / 456.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3181, allocations: 8.078 kB / 456.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.3188, allocations: 0.4888 MB / 456.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3188, allocations: 0 / 456.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.3193, allocations: 91.86 kB / 457 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.3205, allocations: 428.5 kB / 457.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.3205, allocations: 15.92 kB / 457.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008326/0.3289, allocations: 3.63 MB / 461.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3289, allocations: 0 / 461.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/0.3347, allocations: 1.504 MB / 462.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.335, allocations: 95.64 kB / 462.7 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3351, allocations: 15.94 kB / 462.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.3357, allocations: 75.91 kB / 462.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.3358, allocations: 51.91 kB / 462.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.3359, allocations: 15.92 kB / 462.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003902/0.3363, allocations: 295.2 kB / 463.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3363, allocations: 0 / 463.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006387/0.3369, allocations: 183.8 kB / 463.3 MB, free: 5.562 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.00625/0.3431, allocations: 2.038 MB / 465.3 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.3459, allocations: 0.9753 MB / 466.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3459, allocations: 0 / 466.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.3475, allocations: 0.5762 MB / 466.9 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3481, allocations: 93.69 kB / 467 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.3636, allocations: 6.077 MB / 473.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3639, allocations: 236.8 kB / 473.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.3641, allocations: 47.39 kB / 473.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.3644, allocations: 167.4 kB / 473.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3644, allocations: 0 / 473.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05735/0.4218, allocations: 19.14 MB / 492.6 MB, free: 8.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.39, allocations: 3.781 kB / 492.7 MB, free: 8.168 MB / 398.1 MB " [Timeout remaining time 646] (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.948261556215584] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.516966379247606 13.533353774 13.2633376 Calling exit ...