Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001464/0.001464, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001356/0.001356, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.438/1.438, 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.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",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.001986/0.001986, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004403/0.112, allocations: 2.95 MB / 430 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1135, allocations: 0.7946 MB / 430.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1136, allocations: 11.94 kB / 430.8 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1138, allocations: 51.5 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.114, allocations: 99.11 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1143, allocations: 119.8 kB / 431 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.1148, allocations: 410.3 kB / 431.4 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.115, allocations: 91.27 kB / 431.5 MB, free: 240 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1152, allocations: 159.4 kB / 431.7 MB, free: 80 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2087/0.3239, allocations: 165.1 kB / 431.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3241, allocations: 35.56 kB / 431.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3242, allocations: 40.03 kB / 431.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.3243, allocations: 71.33 kB / 432 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3245, allocations: 179.5 kB / 432.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.325, allocations: 440.2 kB / 432.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.325, allocations: 1.531 kB / 432.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.325, allocations: 0 / 432.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.325, allocations: 2.75 kB / 432.6 MB, free: 7.82 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009843/0.326, allocations: 0.6358 MB / 433.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3261, allocations: 9.594 kB / 433.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.3261, allocations: 58.92 kB / 433.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3263, allocations: 46.97 kB / 433.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3267, allocations: 289 kB / 433.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3267, allocations: 23.09 kB / 433.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.3268, allocations: 24.34 kB / 433.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.3273, allocations: 294.1 kB / 434 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3273, allocations: 0 / 434 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.3273, allocations: 14.48 kB / 434 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3273, allocations: 7.625 kB / 434 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.3277, allocations: 204 kB / 434.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.3292, allocations: 1.146 MB / 435.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.3297, allocations: 204.7 kB / 435.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.33, allocations: 125 kB / 435.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.33, allocations: 2.25 kB / 435.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.3303, allocations: 174.1 kB / 435.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/0.3303, allocations: 0.5625 kB / 435.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001387/0.3317, allocations: 0.5122 MB / 436.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3318, allocations: 132.8 kB / 436.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.332, allocations: 243.8 kB / 436.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.332, allocations: 31.95 kB / 436.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.3321, allocations: 176.7 kB / 436.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.3322, allocations: 72.75 kB / 437 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.3323, allocations: 51.75 kB / 437 MB, free: 5.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.3324, allocations: 331.8 kB / 437.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3325, allocations: 69.08 kB / 437.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3327, allocations: 136.2 kB / 437.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.333, allocations: 172 kB / 437.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.333, allocations: 0 / 437.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005035/0.3335, allocations: 286.4 kB / 438 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3335, allocations: 9.344 kB / 438 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3335, allocations: 5.125 kB / 438 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.3339, allocations: 91.98 kB / 438.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.334, allocations: 25.78 kB / 438.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.3359, allocations: 2.147 MB / 440.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.3362, allocations: 33.19 kB / 440.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3362, allocations: 6.922 kB / 440.3 MB, free: 3.383 MB / 350.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: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.3363, allocations: 146.7 kB / 440.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.3364, allocations: 28.95 kB / 440.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.3364, allocations: 30.81 kB / 440.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3364, allocations: 3.094 kB / 440.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3364, allocations: 6.906 kB / 440.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3364, allocations: 1.312 kB / 440.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.3373, allocations: 0.7689 MB / 441.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3373, allocations: 1.062 kB / 441.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3374, allocations: 23.12 kB / 441.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.3377, allocations: 89.83 kB / 441.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3377, allocations: 7.531 kB / 441.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.3395, allocations: 2.149 MB / 443.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3395, allocations: 1.094 kB / 443.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.3402, allocations: 449.6 kB / 444 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3403, allocations: 131.6 kB / 444.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.3404, allocations: 10.47 kB / 444.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3406, allocations: 14.58 kB / 444.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3407, allocations: 36.59 kB / 444.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3407, allocations: 10 kB / 444.2 MB, free: 336 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3409, allocations: 178.9 kB / 444.4 MB, free: 228 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3409, allocations: 0 / 444.4 MB, free: 228 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.3414, allocations: 89.53 kB / 444.5 MB, free: 212 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.3424, allocations: 0.9859 MB / 445.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007213/0.3431, allocations: 351.8 kB / 445.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3431, allocations: 1.031 kB / 445.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.3436, allocations: 255.4 kB / 446 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.344, allocations: 57.73 kB / 446.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.3485, allocations: 2.781 MB / 448.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.3489, allocations: 0.7679 MB / 449.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.3491, allocations: 20.8 kB / 449.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.3492, allocations: 82.88 kB / 449.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3492, allocations: 4 kB / 449.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3871, allocations: 7.644 MB / 457.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 14.48 kB / 457.4 MB, free: 10.7 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039604 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.291220222599804] Failed to read output from testmodel.py, exit status != 0: ['time', 'idealTriac.capacitor.v', 'idealTriac.idealThyristor.off', 'idealTriac.idealThyristor1.off'] 11.920990513172 11.936046441 11.608294238 Calling exit ...