Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001322/0.001322, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.007317/0.007317, allocations: 164.1 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9253/0.9253, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.715e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.1364/0.1364, allocations: 3.528 MB / 302 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1382, allocations: 0.9817 MB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.1384, allocations: 12.31 kB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1386, allocations: 84.64 kB / 303 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.1389, allocations: 183.3 kB / 303.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.1393, allocations: 207.8 kB / 303.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.1399, allocations: 0.784 MB / 304.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1401, allocations: 109 kB / 304.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.1405, allocations: 436.8 kB / 304.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.1407, allocations: 262.6 kB / 305 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/0.1408, allocations: 76.94 kB / 305.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1409, allocations: 76.94 kB / 305.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.141, allocations: 153.9 kB / 305.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1412, allocations: 228.8 kB / 305.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.1419, allocations: 0.8458 MB / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1419, allocations: 1.406 kB / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1419, allocations: 0 / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1419, allocations: 0 / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001499/0.1434, allocations: 0.9114 MB / 307.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1434, allocations: 20.14 kB / 307.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.1435, allocations: 71.11 kB / 307.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.1436, allocations: 59.97 kB / 307.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.144, allocations: 344.5 kB / 307.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.1441, allocations: 28.06 kB / 307.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.1441, allocations: 33.98 kB / 307.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.1449, allocations: 0.5915 MB / 308.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1449, allocations: 4 kB / 308.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.145, allocations: 16.16 kB / 308.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.145, allocations: 9 kB / 308.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/0.1459, allocations: 0.5683 MB / 309 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.148, allocations: 1.824 MB / 310.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.1499, allocations: 0.7615 MB / 311.6 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.1504, allocations: 341 kB / 311.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1505, allocations: 5.875 kB / 311.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.1511, allocations: 421 kB / 312.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.1511, allocations: 0 / 312.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.00468/0.1558, allocations: 1.726 MB / 314.1 MB, free: 8.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1558, allocations: 86.89 kB / 314.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.1561, allocations: 387.4 kB / 314.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1561, allocations: 31.61 kB / 314.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.1562, allocations: 225.5 kB / 314.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.1563, allocations: 136.8 kB / 314.9 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1564, allocations: 73.22 kB / 315 MB, free: 7.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.1565, allocations: 354.1 kB / 315.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.1569, allocations: 296.2 kB / 315.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.1575, allocations: 364.5 kB / 316 MB, free: 7.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.1584, allocations: 0.5444 MB / 316.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1584, allocations: 1.062 kB / 316.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002947/0.1614, allocations: 1.075 MB / 317.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.1614, allocations: 36.53 kB / 317.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1614, allocations: 5 kB / 317.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/0.1624, allocations: 396.7 kB / 318 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.1627, allocations: 84.8 kB / 318.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.1692, allocations: 3.488 MB / 321.6 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.1696, allocations: 92.77 kB / 321.7 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.1696, allocations: 12.78 kB / 321.7 MB, free: 3.605 MB / 282.7 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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.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.000188/0.1698, allocations: 169.2 kB / 321.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.1699, allocations: 45.16 kB / 321.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/0.17, allocations: 54.66 kB / 322 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.17, allocations: 3.188 kB / 322 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.17, allocations: 5.109 kB / 322 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.17, allocations: 3.984 kB / 322 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.1705, allocations: 472.8 kB / 322.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1705, allocations: 0 / 322.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.1708, allocations: 74.44 kB / 322.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008714/0.1717, allocations: 396.4 kB / 322.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.1717, allocations: 14.69 kB / 322.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.1774, allocations: 3.479 MB / 326.4 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1774, allocations: 2.625 kB / 326.4 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.1804, allocations: 1.245 MB / 327.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1806, allocations: 100.6 kB / 327.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.1806, allocations: 14.56 kB / 327.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1809, allocations: 68.86 kB / 327.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.181, allocations: 47.69 kB / 327.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.181, allocations: 11.09 kB / 327.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.1812, allocations: 275.3 kB / 328.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1812, allocations: 4 kB / 328.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000419/0.1816, allocations: 170.8 kB / 328.3 MB, free: 15.19 MB / 298.7 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,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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.002539/0.1842, allocations: 1.795 MB / 330.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1855, allocations: 0.8918 MB / 331 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1855, allocations: 0 / 331 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.1863, allocations: 0.526 MB / 331.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1867, allocations: 90.38 kB / 331.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.194, allocations: 5.525 MB / 337.2 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.1942, allocations: 232.5 kB / 337.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1943, allocations: 39.28 kB / 337.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1945, allocations: 156.4 kB / 337.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1945, allocations: 0 / 337.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.2255, allocations: 17.99 MB / 355.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.422, allocations: 11.92 kB / 355.6 MB, free: 4.371 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.243105655536056] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 8.514989886432886 8.524721426 8.380994473 Calling exit ...