Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001298/0.001298, allocations: 117.4 kB / 18.45 MB, free: 4.613 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.001328/0.001329, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.515/1.515, allocations: 227.7 MB / 251.9 MB, free: 40 kB / 190.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.SimpleTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",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.001881/0.001881, allocations: 67.83 kB / 365.2 MB, free: 316 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 50.55 MB / 415.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.00546/0.1222, allocations: 4.094 MB / 419.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.1245, allocations: 1.052 MB / 420.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.1248, allocations: 11.94 kB / 420.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1252, allocations: 99.06 kB / 421 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.1255, allocations: 178.4 kB / 421.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1261, allocations: 227.7 kB / 421.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008813/0.127, allocations: 0.825 MB / 422.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.1273, allocations: 172.8 kB / 422.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.1278, allocations: 319 kB / 422.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.1283, allocations: 362.6 kB / 423.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1284, allocations: 84 kB / 423.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1285, allocations: 87.94 kB / 423.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.1287, allocations: 163.5 kB / 423.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.1291, allocations: 338.4 kB / 423.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1301, allocations: 0.8602 MB / 424.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1301, allocations: 4 kB / 424.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1301, allocations: 0 / 424.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1301, allocations: 0 / 424.6 MB, free: 4.832 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.002721/0.1329, allocations: 1.045 MB / 425.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1329, allocations: 8.031 kB / 425.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.285e-05/0.133, allocations: 74.72 kB / 425.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1332, allocations: 76.53 kB / 425.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.1339, allocations: 430.2 kB / 426.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.1339, allocations: 29.38 kB / 426.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.134, allocations: 36.38 kB / 426.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.1355, allocations: 0.6108 MB / 426.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1355, allocations: 0 / 426.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.1356, allocations: 15.94 kB / 426.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1356, allocations: 8 kB / 426.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.1376, allocations: 0.6518 MB / 427.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.1414, allocations: 2.153 MB / 429.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/0.1453, allocations: 0.8628 MB / 430.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.1464, allocations: 403.6 kB / 431 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.1465, allocations: 16.3 kB / 431 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.1477, allocations: 430.7 kB / 431.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.1477, allocations: 0 / 431.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.01415/0.1618, allocations: 2.383 MB / 433.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.1619, allocations: 81.11 kB / 433.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.1625, allocations: 417.9 kB / 434.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.1626, allocations: 37.7 kB / 434.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.1628, allocations: 244.8 kB / 434.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.163, allocations: 138.8 kB / 434.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.1632, allocations: 78 kB / 434.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1634, allocations: 358.7 kB / 435.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009872/0.1644, allocations: 296.6 kB / 435.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.1654, allocations: 338.1 kB / 435.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.1673, allocations: 0.5913 MB / 436.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.1673, allocations: 8 kB / 436.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0037/0.171, allocations: 0.9982 MB / 437.4 MB, free: 7.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.171, allocations: 37.69 kB / 437.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1711, allocations: 0 / 437.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.1724, allocations: 428.5 kB / 437.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.1729, allocations: 95.86 kB / 437.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00908/0.182, allocations: 3.817 MB / 441.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.1828, allocations: 91.8 kB / 441.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.1828, allocations: 15.98 kB / 441.8 MB, free: 3.098 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.0002989/0.1831, allocations: 177.7 kB / 442 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1832, allocations: 55.67 kB / 442.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1834, allocations: 56.47 kB / 442.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1834, allocations: 4.094 kB / 442.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1834, allocations: 7.969 kB / 442.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1834, allocations: 0 / 442.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008153/0.1842, allocations: 0.6222 MB / 442.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1843, allocations: 0 / 442.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.1848, allocations: 87.86 kB / 442.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.186, allocations: 434.5 kB / 443.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.1861, allocations: 7.984 kB / 443.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2137/0.3998, allocations: 3.801 MB / 447.1 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3998, allocations: 0 / 447.1 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.4054, allocations: 1.504 MB / 448.6 MB, free: 29.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.4057, allocations: 181.5 kB / 448.7 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.4057, allocations: 8.188 kB / 448.8 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.4063, allocations: 76.72 kB / 448.8 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4065, allocations: 46.61 kB / 448.9 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.4065, allocations: 12.12 kB / 448.9 MB, free: 28.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.4068, allocations: 297 kB / 449.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4068, allocations: 0 / 449.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.4074, allocations: 178.7 kB / 449.4 MB, free: 28.89 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.005943/0.4134, allocations: 2.056 MB / 451.4 MB, free: 28.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.4161, allocations: 0.9635 MB / 452.4 MB, free: 28.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4161, allocations: 0 / 452.4 MB, free: 28.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.4177, allocations: 0.5944 MB / 453 MB, free: 27.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.4183, allocations: 85.98 kB / 453.1 MB, free: 27.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.4328, allocations: 5.972 MB / 459 MB, free: 26.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.4332, allocations: 0.8434 MB / 459.9 MB, free: 25.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.4335, allocations: 43.2 kB / 459.9 MB, free: 25.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.4338, allocations: 167.5 kB / 460.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4338, allocations: 0 / 460.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05004/0.4838, allocations: 18.56 MB / 478.6 MB, free: 17.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.57, allocations: 2.109 kB / 478.6 MB, free: 17.47 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.143653473001905] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 12.68472343601752 12.698200108 12.565619675 Calling exit ...