Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000746/0.000746, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8835/0.8835, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.292e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003484/0.003507, allocations: 3.656 MB / 322.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.005101, allocations: 0.9893 MB / 323.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.005287, allocations: 11.94 kB / 323.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.005457, allocations: 87.08 kB / 323.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.005689, allocations: 206.2 kB / 323.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.006113, allocations: 215.6 kB / 323.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.006749, allocations: 0.8364 MB / 324.4 MB, free: 328 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.006969, allocations: 105.5 kB / 324.5 MB, free: 220 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.007416, allocations: 467.1 kB / 325 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.00767, allocations: 271.3 kB / 325.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.007741, allocations: 80 kB / 325.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.007808, allocations: 84 kB / 325.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.007903, allocations: 163.4 kB / 325.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.008066, allocations: 239.5 kB / 325.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.008631, allocations: 0.892 MB / 326.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008633, allocations: 0 / 326.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008634, allocations: 0 / 326.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.008646, allocations: 7.984 kB / 326.7 MB, free: 14.03 MB / 298.7 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.001551/0.0102, allocations: 0.9546 MB / 327.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.01024, allocations: 8.922 kB / 327.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.01031, allocations: 70.72 kB / 327.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.01039, allocations: 64.56 kB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.01084, allocations: 359.6 kB / 328.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.01088, allocations: 33.31 kB / 328.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.01094, allocations: 36.38 kB / 328.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.01177, allocations: 0.6207 MB / 328.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.01178, allocations: 192 / 328.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.01181, allocations: 24.06 kB / 328.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.01182, allocations: 8 kB / 328.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.01283, allocations: 0.6167 MB / 329.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.01524, allocations: 1.948 MB / 331.4 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.01704, allocations: 0.808 MB / 332.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.01766, allocations: 368.5 kB / 332.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.01769, allocations: 8.328 kB / 332.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/0.01835, allocations: 452.3 kB / 333.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.393e-06/0.01835, allocations: 0 / 333.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.006537/0.02489, allocations: 2.202 MB / 335.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.02495, allocations: 93.05 kB / 335.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.02528, allocations: 405.9 kB / 335.8 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.02532, allocations: 41.69 kB / 335.8 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.02544, allocations: 224.9 kB / 336 MB, free: 4.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.02552, allocations: 138.8 kB / 336.1 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.02564, allocations: 74.05 kB / 336.2 MB, free: 4.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.02576, allocations: 358.7 kB / 336.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.0264, allocations: 318.4 kB / 336.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.02693, allocations: 393.6 kB / 337.3 MB, free: 3.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.02786, allocations: 0.5798 MB / 337.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02786, allocations: 0 / 337.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001768/0.02963, allocations: 0.9997 MB / 338.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.02966, allocations: 33.7 kB / 338.9 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.02966, allocations: 0 / 338.9 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/0.03036, allocations: 399.8 kB / 339.3 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.0306, allocations: 87.86 kB / 339.4 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.03541, allocations: 3.487 MB / 342.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.03573, allocations: 99.64 kB / 342.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.03576, allocations: 15.98 kB / 343 MB, free: 13.31 MB / 314.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 (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.000174/0.03594, allocations: 183.1 kB / 343.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.03598, allocations: 43.72 kB / 343.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.03605, allocations: 60.45 kB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.03605, allocations: 4 kB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.03605, allocations: 0 / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.03606, allocations: 0 / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.03645, allocations: 488.8 kB / 343.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.03645, allocations: 0 / 343.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.03669, allocations: 87.86 kB / 343.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/0.0373, allocations: 396.1 kB / 344.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.03733, allocations: 8 kB / 344.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.04189, allocations: 3.484 MB / 347.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.04189, allocations: 0 / 347.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.04466, allocations: 1.453 MB / 349.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.04482, allocations: 107.5 kB / 349.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.04487, allocations: 12 kB / 349.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.04511, allocations: 71.86 kB / 349.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.04523, allocations: 59.84 kB / 349.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.04525, allocations: 15.98 kB / 349.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.04546, allocations: 287.2 kB / 349.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04546, allocations: 0 / 349.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004097/0.04587, allocations: 171.8 kB / 349.8 MB, free: 6.23 MB / 314.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,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.003096/0.04897, allocations: 2.014 MB / 351.9 MB, free: 4.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.05044, allocations: 0.9284 MB / 352.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.05044, allocations: 4 kB / 352.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.05123, allocations: 0.5374 MB / 353.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.05154, allocations: 84.14 kB / 353.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/0.05967, allocations: 5.873 MB / 359.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.05984, allocations: 240.7 kB / 359.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.05998, allocations: 47.38 kB / 359.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.06015, allocations: 160.5 kB / 359.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.06015, allocations: 0 / 359.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.09118, allocations: 18.91 MB / 378.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.239, allocations: 19.08 kB / 378.6 MB, free: 9.391 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.885203942656517] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 8.336052134633064 8.352359059 8.340872605 Calling exit ...