Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 51.86 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.246, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005219/0.2512, allocations: 3.714 MB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2532, allocations: 1.032 MB / 435.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.2534, allocations: 7.938 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.2537, allocations: 87.14 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.254, allocations: 186.4 kB / 436.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.2545, allocations: 235.6 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000817/0.2554, allocations: 0.825 MB / 437.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.2556, allocations: 117.4 kB / 437.3 MB, free: 440 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.2561, allocations: 331 kB / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.2565, allocations: 362.8 kB / 438 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.2567, allocations: 87.94 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.2568, allocations: 84 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.257, allocations: 163.4 kB / 438.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.2573, allocations: 274.8 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.2582, allocations: 0.8718 MB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2582, allocations: 4 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2582, allocations: 0 / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2582, allocations: 0 / 439.4 MB, free: 14.27 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.002539/0.2607, allocations: 0.9779 MB / 440.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2608, allocations: 15.97 kB / 440.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.2609, allocations: 70.72 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2611, allocations: 72.55 kB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.2617, allocations: 368.4 kB / 440.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.2617, allocations: 29.38 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.2618, allocations: 32.38 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.2633, allocations: 0.632 MB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2633, allocations: 0 / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.2633, allocations: 16 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.2633, allocations: 12 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.2652, allocations: 0.644 MB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.2688, allocations: 1.951 MB / 444.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.2723, allocations: 0.8314 MB / 445.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2733, allocations: 373.2 kB / 445.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.2733, allocations: 8.328 kB / 445.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.2745, allocations: 456.3 kB / 445.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.103e-06/0.2745, allocations: 4 kB / 445.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0129/0.2874, allocations: 2.301 MB / 448.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.2875, allocations: 89.11 kB / 448.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.288, allocations: 413.9 kB / 448.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.2881, allocations: 33.7 kB / 448.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.2883, allocations: 236.9 kB / 448.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2884, allocations: 146.7 kB / 449.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2886, allocations: 70.06 kB / 449.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2888, allocations: 362.7 kB / 449.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.2897, allocations: 322.3 kB / 449.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009621/0.2907, allocations: 397.4 kB / 450.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.2924, allocations: 0.5952 MB / 450.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2924, allocations: 0 / 450.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003449/0.2959, allocations: 1.031 MB / 451.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.2959, allocations: 29.7 kB / 451.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2959, allocations: 0 / 451.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.2972, allocations: 439.1 kB / 452.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.2977, allocations: 95.78 kB / 452.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008178/0.3058, allocations: 3.643 MB / 456 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.3065, allocations: 91.7 kB / 456.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.3065, allocations: 15.98 kB / 456.1 MB, free: 13.08 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.0002652/0.3068, allocations: 182.5 kB / 456.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.3069, allocations: 47.67 kB / 456.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.307, allocations: 60.52 kB / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.307, allocations: 4 kB / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.307, allocations: 0 / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.307, allocations: 0 / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.3077, allocations: 496.5 kB / 456.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3077, allocations: 0 / 456.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.3081, allocations: 87.84 kB / 457 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.3093, allocations: 428.6 kB / 457.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.3093, allocations: 11.98 kB / 457.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007976/0.3173, allocations: 3.637 MB / 461.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3173, allocations: 0 / 461.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/0.3228, allocations: 1.497 MB / 462.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.3231, allocations: 103.6 kB / 462.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.3232, allocations: 11.94 kB / 462.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.3237, allocations: 79.84 kB / 462.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.3238, allocations: 51.91 kB / 462.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.3239, allocations: 12 kB / 462.8 MB, free: 6.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.3242, allocations: 299.1 kB / 463.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3242, allocations: 0 / 463.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006575/0.3249, allocations: 187.7 kB / 463.3 MB, free: 5.75 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.005829/0.3307, allocations: 2.041 MB / 465.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.3334, allocations: 0.9753 MB / 466.3 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3334, allocations: 0 / 466.3 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.3349, allocations: 0.5723 MB / 466.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.3355, allocations: 93.42 kB / 467 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.3501, allocations: 6.073 MB / 473 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3503, allocations: 232.9 kB / 473.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.3505, allocations: 51.38 kB / 473.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.3508, allocations: 167.4 kB / 473.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3508, allocations: 4 kB / 473.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05493/0.4057, allocations: 19.24 MB / 492.7 MB, free: 8.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.02, allocations: 3.984 kB / 492.7 MB, free: 8.332 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.574795410007937] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.14353803198901 13.168502501 12.906013391 Calling exit ...