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.001687/0.001687, allocations: 112.9 kB / 18.45 MB, free: 4.625 MB / 14.72 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.002072/0.002072, allocations: 216.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.811/1.811, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 59.92 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1247, allocations: 49.12 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006448/0.1312, allocations: 3.905 MB / 395.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.1341, allocations: 1.037 MB / 396.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.1347, allocations: 11.94 kB / 396.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1351, allocations: 83.14 kB / 396.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.1357, allocations: 174.5 kB / 396.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.1365, allocations: 199.7 kB / 396.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1377, allocations: 0.7704 MB / 397.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.138, allocations: 124.9 kB / 397.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.1386, allocations: 303 kB / 398 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.1392, allocations: 334.6 kB / 398.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.1393, allocations: 79.98 kB / 398.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1394, allocations: 76 kB / 398.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1396, allocations: 155.5 kB / 398.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1399, allocations: 306.6 kB / 398.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.141, allocations: 0.8018 MB / 399.7 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.141, allocations: 0 / 399.7 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.141, allocations: 0 / 399.7 MB, free: 340 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.141, allocations: 4 kB / 399.7 MB, free: 336 kB / 318.1 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.002974/0.144, allocations: 0.9988 MB / 400.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.144, allocations: 8.031 kB / 400.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.1442, allocations: 78.72 kB / 400.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1443, allocations: 60.56 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.1451, allocations: 402.3 kB / 401.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.1451, allocations: 33.38 kB / 401.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.1452, allocations: 39.94 kB / 401.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1467, allocations: 0.5552 MB / 401.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1467, allocations: 0 / 401.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.1467, allocations: 19.94 kB / 401.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1468, allocations: 12 kB / 401.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.1486, allocations: 0.5777 MB / 402.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.1528, allocations: 1.997 MB / 404.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/0.1567, allocations: 0.7564 MB / 405.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.1579, allocations: 340.6 kB / 405.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.158, allocations: 19.92 kB / 405.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.1592, allocations: 403.6 kB / 406 MB, free: 9.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/0.1592, allocations: 0 / 406 MB, free: 9.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.01013/0.1693, allocations: 1.783 MB / 407.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1694, allocations: 85.05 kB / 407.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.1701, allocations: 385.7 kB / 408.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.1702, allocations: 33.7 kB / 408.3 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1704, allocations: 232.8 kB / 408.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.1706, allocations: 134.8 kB / 408.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.1708, allocations: 74.06 kB / 408.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.171, allocations: 346.8 kB / 409.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009394/0.1719, allocations: 268.6 kB / 409.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.1728, allocations: 313.9 kB / 409.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.1746, allocations: 0.5407 MB / 410.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1746, allocations: 4 kB / 410.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005031/0.1797, allocations: 1.049 MB / 411.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.1797, allocations: 33.69 kB / 411.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1797, allocations: 0 / 411.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.1811, allocations: 400.4 kB / 411.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.1817, allocations: 83.92 kB / 411.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009417/0.1911, allocations: 3.681 MB / 415.4 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.1919, allocations: 91.7 kB / 415.5 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.1919, allocations: 15.98 kB / 415.5 MB, free: 32 kB / 334.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 (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.0003644/0.1923, allocations: 166.9 kB / 415.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1924, allocations: 55.64 kB / 415.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1926, allocations: 48.38 kB / 415.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1926, allocations: 4 kB / 415.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1926, allocations: 4 kB / 415.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1926, allocations: 3.984 kB / 415.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.1934, allocations: 0.5911 MB / 416.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1934, allocations: 3.938 kB / 416.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.1939, allocations: 71.94 kB / 416.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.1951, allocations: 400.5 kB / 416.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.1951, allocations: 4 kB / 416.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008926/0.2041, allocations: 3.654 MB / 420.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.2041, allocations: 11.97 kB / 420.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.209, allocations: 1.252 MB / 421.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.2095, allocations: 180.7 kB / 421.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.2096, allocations: 8 kB / 422 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.2101, allocations: 63.92 kB / 422 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.2104, allocations: 47.94 kB / 422.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.2104, allocations: 15.98 kB / 422.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00045/0.2109, allocations: 267.2 kB / 422.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2109, allocations: 0 / 422.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008028/0.2117, allocations: 175.8 kB / 422.5 MB, free: 8.793 MB / 350.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,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.005529/0.2172, allocations: 1.807 MB / 424.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.2201, allocations: 0.857 MB / 425.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2201, allocations: 0 / 425.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.2218, allocations: 0.5256 MB / 425.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.2225, allocations: 77.47 kB / 425.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.2378, allocations: 5.45 MB / 431.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.2383, allocations: 0.8239 MB / 432.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.2386, allocations: 47.2 kB / 432.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.2389, allocations: 155.4 kB / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.2389, allocations: 0 / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06311/0.302, allocations: 17.57 MB / 449.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.03, allocations: 11.94 kB / 449.8 MB, free: 13.19 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.066307967004832] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.15584400598891 13.178276849 13.033281848 Calling exit ...