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.001402/0.001402, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001425/0.001425, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.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.001992/0.001992, allocations: 68.77 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2551, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005318/0.2604, allocations: 4.127 MB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.2623, allocations: 1.071 MB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.2626, allocations: 11.94 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2628, allocations: 91.12 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.2631, allocations: 186.4 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.2637, allocations: 231.7 kB / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008182/0.2645, allocations: 0.8211 MB / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.2647, allocations: 126.5 kB / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.2652, allocations: 323.1 kB / 438.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.2656, allocations: 358.6 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2657, allocations: 84 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.2659, allocations: 88 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.266, allocations: 171.4 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.2663, allocations: 338.5 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008769/0.2672, allocations: 0.8558 MB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2672, allocations: 0 / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2672, allocations: 4 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2672, allocations: 3.938 kB / 440.8 MB, free: 13.96 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.002598/0.2698, allocations: 0.974 MB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2699, allocations: 8.031 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.27, allocations: 82.66 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.2702, allocations: 72.55 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.2708, allocations: 364.4 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.2709, allocations: 29.38 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.2709, allocations: 40.36 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.2724, allocations: 0.6069 MB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2724, allocations: 0 / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.2724, allocations: 16 kB / 443 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.2724, allocations: 8 kB / 443 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.2743, allocations: 0.6362 MB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.2782, allocations: 2.126 MB / 445.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.2821, allocations: 0.8237 MB / 446.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.2831, allocations: 374.6 kB / 446.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.2832, allocations: 4.328 kB / 446.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.2843, allocations: 442.5 kB / 447.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.504e-06/0.2843, allocations: 0 / 447.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01446/0.2988, allocations: 2.301 MB / 449.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.2988, allocations: 89.09 kB / 449.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.2995, allocations: 417.9 kB / 450.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.2995, allocations: 29.7 kB / 450.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2997, allocations: 244.9 kB / 450.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.2999, allocations: 138.8 kB / 450.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.3001, allocations: 70.06 kB / 450.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3002, allocations: 362.7 kB / 451 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/0.3011, allocations: 296.5 kB / 451.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009189/0.3021, allocations: 342.1 kB / 451.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.3038, allocations: 0.5951 MB / 452.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3038, allocations: 4 kB / 452.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003618/0.3074, allocations: 0.9941 MB / 453.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.3075, allocations: 33.7 kB / 453.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3075, allocations: 0 / 453.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.3087, allocations: 436.4 kB / 453.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.3092, allocations: 91.91 kB / 453.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008764/0.318, allocations: 3.713 MB / 457.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.3187, allocations: 95.73 kB / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.3188, allocations: 15.98 kB / 457.6 MB, free: 12.73 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.0003025/0.3191, allocations: 178.5 kB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.3191, allocations: 51.67 kB / 457.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.3193, allocations: 60.52 kB / 457.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3193, allocations: 4 kB / 457.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3193, allocations: 3.938 kB / 457.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3193, allocations: 0 / 457.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.32, allocations: 0.5901 MB / 458.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.32, allocations: 4 kB / 458.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.3205, allocations: 79.92 kB / 458.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.3217, allocations: 435.5 kB / 459 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.3217, allocations: 15.88 kB / 459 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008709/0.3304, allocations: 3.721 MB / 462.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3305, allocations: 0 / 462.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.3365, allocations: 1.496 MB / 464.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.3369, allocations: 95.64 kB / 464.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.3369, allocations: 19.92 kB / 464.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.3375, allocations: 75.91 kB / 464.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3377, allocations: 43.92 kB / 464.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3377, allocations: 11.98 kB / 464.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004133/0.3381, allocations: 299.1 kB / 464.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3381, allocations: 8 kB / 464.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.3388, allocations: 175.8 kB / 464.9 MB, free: 5.215 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.006283/0.3451, allocations: 2.049 MB / 466.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.348, allocations: 0.9346 MB / 467.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.348, allocations: 0 / 467.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.3496, allocations: 0.5801 MB / 468.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.3503, allocations: 92.36 kB / 468.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.3668, allocations: 5.967 MB / 474.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.3673, allocations: 0.8394 MB / 475.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.3676, allocations: 51.38 kB / 475.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3679, allocations: 163.4 kB / 475.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3679, allocations: 0 / 475.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05726/0.4251, allocations: 18.96 MB / 494.5 MB, free: 7.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.18, allocations: 0 / 494.5 MB, free: 7.598 MB / 398.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 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.578330023214221] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.301651733927429 13.323806082 13.052120698 Calling exit ...