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.001292/0.001292, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00227/0.00227, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.001876/0.001876, allocations: 68.77 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3162, allocations: 53.37 MB / 431.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004302/0.3205, allocations: 2.981 MB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3219, allocations: 0.7985 MB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.3221, allocations: 7.938 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.3223, allocations: 51.5 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.3224, allocations: 103.1 kB / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.3228, allocations: 119.7 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.3232, allocations: 410.3 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3235, allocations: 87.67 kB / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.3237, allocations: 163.5 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.324, allocations: 167.2 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.324, allocations: 36 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.3241, allocations: 40 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3242, allocations: 75.77 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3244, allocations: 191.1 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.3249, allocations: 438.3 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3249, allocations: 0 / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3249, allocations: 0 / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3249, allocations: 3.938 kB / 437.5 MB, free: 1.297 MB / 334.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.001022/0.3259, allocations: 0.5528 MB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.326, allocations: 11.97 kB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.249e-05/0.326, allocations: 62.72 kB / 438.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.3262, allocations: 48.69 kB / 438.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.3266, allocations: 230.8 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3266, allocations: 20.88 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.3267, allocations: 24.38 kB / 438.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.3272, allocations: 291.7 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3272, allocations: 0 / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3273, allocations: 12 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3273, allocations: 8 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.3277, allocations: 201.8 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.3294, allocations: 1.117 MB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.3299, allocations: 192 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.3302, allocations: 132.7 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3302, allocations: 4 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.3305, allocations: 169 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.3305, allocations: 0 / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001353/0.3318, allocations: 441.9 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.3319, allocations: 132.5 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.3322, allocations: 245.1 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3322, allocations: 29.7 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3324, allocations: 176.6 kB / 441.6 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.3324, allocations: 71.41 kB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.3325, allocations: 53.66 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3327, allocations: 334.8 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3328, allocations: 71.97 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.333, allocations: 129.8 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.3333, allocations: 171.3 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3333, allocations: 7.938 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004929/0.3338, allocations: 286.2 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3339, allocations: 8 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3339, allocations: 3.984 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.3342, allocations: 88.8 kB / 442.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3343, allocations: 27.92 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.3367, allocations: 2.043 MB / 444.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3369, allocations: 31.83 kB / 444.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3369, allocations: 8 kB / 444.9 MB, free: 9.516 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.0001678/0.3371, allocations: 153.8 kB / 445.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.3371, allocations: 35.73 kB / 445.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.3372, allocations: 30.27 kB / 445.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3372, allocations: 4 kB / 445.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3372, allocations: 0 / 445.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3372, allocations: 0 / 445.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.3382, allocations: 0.7434 MB / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3382, allocations: 0 / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3383, allocations: 24.02 kB / 445.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.3385, allocations: 88.73 kB / 446 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3386, allocations: 11.98 kB / 446 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3409, allocations: 2.043 MB / 448 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3409, allocations: 4.062 kB / 448 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.3416, allocations: 449.5 kB / 448.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.01e-05/0.3417, allocations: 43.81 kB / 448.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3417, allocations: 8 kB / 448.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3419, allocations: 20.05 kB / 448.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.342, allocations: 35.94 kB / 448.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.342, allocations: 4 kB / 448.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.3422, allocations: 180.5 kB / 448.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3422, allocations: 0 / 448.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.3426, allocations: 91.83 kB / 448.9 MB, free: 5.371 MB / 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.001009/0.3436, allocations: 0.9893 MB / 449.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.3443, allocations: 346.7 kB / 450.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3443, allocations: 8.062 kB / 450.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.3447, allocations: 254.6 kB / 450.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3451, allocations: 68.58 kB / 450.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.3487, allocations: 2.773 MB / 453.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3491, allocations: 0.76 MB / 454 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3492, allocations: 26.34 kB / 454.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3494, allocations: 83.41 kB / 454.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3494, allocations: 0 / 454.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.3889, allocations: 7.798 MB / 461.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 8 kB / 461.9 MB, free: 8.266 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.313221480231732] Failed to read output from testmodel.py, exit status != 0: ['time', 'idealTriac.capacitor.v', 'idealTriac.idealThyristor.off', 'idealTriac.idealThyristor1.off'] 12.051597252022475 12.07660387 11.747017306 Calling exit ...