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.001371/0.001371, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.007117/0.007117, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.9388/0.9388, allocations: 158.6 MB / 186.5 MB, free: 3.027 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.733e-06/1.733e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.029e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.1322/0.1322, allocations: 3.525 MB / 302 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1338, allocations: 0.9854 MB / 303 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.134, allocations: 8.438 kB / 303 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.1342, allocations: 85.48 kB / 303 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1345, allocations: 182.3 kB / 303.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.1349, allocations: 212.3 kB / 303.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.1356, allocations: 0.7795 MB / 304.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.1358, allocations: 109.5 kB / 304.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.1363, allocations: 437.5 kB / 304.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.1367, allocations: 258.8 kB / 305 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.962e-05/0.1368, allocations: 80.28 kB / 305.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.1369, allocations: 77.91 kB / 305.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.1369, allocations: 156.4 kB / 305.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.1372, allocations: 224.6 kB / 305.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008972/0.1381, allocations: 0.8463 MB / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1381, allocations: 0 / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1381, allocations: 0.5625 kB / 306.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.1381, allocations: 1.094 kB / 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.001767/0.1398, allocations: 0.916 MB / 307.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1399, allocations: 15.39 kB / 307.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.14, allocations: 70.42 kB / 307.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.14, allocations: 62.02 kB / 307.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.1405, allocations: 342.7 kB / 307.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.1405, allocations: 29.03 kB / 307.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.1406, allocations: 36.72 kB / 307.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/0.1415, allocations: 0.5873 MB / 308.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1415, allocations: 4 kB / 308.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.1415, allocations: 19.84 kB / 308.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1415, allocations: 8.625 kB / 308.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1426, allocations: 0.5695 MB / 309 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.1447, allocations: 1.821 MB / 310.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.1466, allocations: 0.7637 MB / 311.6 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.1472, allocations: 344 kB / 311.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1473, allocations: 4.781 kB / 311.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/0.1479, allocations: 428.6 kB / 312.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.412e-06/0.1479, allocations: 0 / 312.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.004769/0.1527, allocations: 1.721 MB / 314.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1527, allocations: 83.11 kB / 314.2 MB, free: 8.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.1531, allocations: 383.3 kB / 314.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1531, allocations: 32.36 kB / 314.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1533, allocations: 225.2 kB / 314.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.1533, allocations: 138 kB / 314.9 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1534, allocations: 69.98 kB / 315 MB, free: 7.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.1535, allocations: 357.3 kB / 315.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.154, allocations: 295.4 kB / 315.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.1545, allocations: 367.8 kB / 316 MB, free: 7.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.1553, allocations: 0.5396 MB / 316.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1553, allocations: 1.031 kB / 316.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00237/0.1577, allocations: 1.078 MB / 317.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.1578, allocations: 36.39 kB / 317.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1578, allocations: 5.031 kB / 317.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007502/0.1585, allocations: 396.7 kB / 318 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.1588, allocations: 81.81 kB / 318.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/0.1634, allocations: 3.491 MB / 321.6 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.1639, allocations: 92.48 kB / 321.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.1639, allocations: 13.38 kB / 321.7 MB, free: 3.602 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.000211/0.1641, allocations: 165.1 kB / 321.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.1642, allocations: 48.92 kB / 321.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.1643, allocations: 54.31 kB / 322 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1643, allocations: 3.844 kB / 322 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1643, allocations: 1.5 kB / 322 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1643, allocations: 7.938 kB / 322 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.1647, allocations: 462.9 kB / 322.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1647, allocations: 0 / 322.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1649, allocations: 78.73 kB / 322.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007647/0.1657, allocations: 397.9 kB / 322.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.1657, allocations: 18.48 kB / 322.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/0.1701, allocations: 3.481 MB / 326.4 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.1701, allocations: 1.5 kB / 326.4 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.1725, allocations: 1.251 MB / 327.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.1727, allocations: 100.2 kB / 327.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.1728, allocations: 10.66 kB / 327.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.173, allocations: 68.45 kB / 327.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1731, allocations: 44.83 kB / 327.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1731, allocations: 14.98 kB / 327.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002508/0.1734, allocations: 279.1 kB / 328.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1734, allocations: 0 / 328.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004977/0.1739, allocations: 170.2 kB / 328.3 MB, free: 15.18 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.002499/0.1764, allocations: 1.797 MB / 330.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.1778, allocations: 0.8889 MB / 331 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1778, allocations: 0 / 331 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007873/0.1786, allocations: 0.5321 MB / 331.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.179, allocations: 84.61 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.007886/0.1868, allocations: 5.521 MB / 337.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.187, allocations: 228.5 kB / 337.4 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.1872, allocations: 43.27 kB / 337.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1874, allocations: 152.5 kB / 337.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of SimCode: time 1.502e-06/0.1874, allocations: 4 kB / 337.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.2241, allocations: 17.99 MB / 355.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.192, allocations: 11.91 kB / 355.6 MB, free: 4.379 MB / 314.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 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: 9.855745845474303] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 8.28715446498245 8.298407783 8.158171141 Calling exit ...