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.001398/0.001398, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001556/0.001556, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15 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.00195/0.00195, allocations: 60.05 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1065, allocations: 53.33 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005576/0.1121, allocations: 4.107 MB / 431 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1974/0.3095, allocations: 1.063 MB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.3099, allocations: 8.625 kB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.3102, allocations: 92.47 kB / 432.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.3105, allocations: 187.4 kB / 432.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.311, allocations: 225.4 kB / 432.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.3117, allocations: 0.8196 MB / 433.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.3119, allocations: 122.1 kB / 433.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.3124, allocations: 328.8 kB / 433.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.3127, allocations: 362 kB / 434.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.804e-05/0.3128, allocations: 82.81 kB / 434.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3129, allocations: 82.91 kB / 434.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.313, allocations: 163.4 kB / 434.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.3133, allocations: 333.6 kB / 434.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.3142, allocations: 0.864 MB / 435.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3142, allocations: 0.7969 kB / 435.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3142, allocations: 0 / 435.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3142, allocations: 0 / 435.7 MB, free: 7.129 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.002587/0.3168, allocations: 1.058 MB / 436.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3168, allocations: 9.781 kB / 436.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.136e-05/0.3169, allocations: 75.36 kB / 436.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.3171, allocations: 71.12 kB / 436.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.3177, allocations: 428.5 kB / 437.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.3178, allocations: 27.69 kB / 437.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.3179, allocations: 37.84 kB / 437.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.3194, allocations: 0.6064 MB / 438 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3195, allocations: 1.188 kB / 438 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.3195, allocations: 14.75 kB / 438 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3195, allocations: 9.734 kB / 438 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.3216, allocations: 0.6416 MB / 438.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.3256, allocations: 2.159 MB / 440.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.3295, allocations: 0.8341 MB / 441.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.3306, allocations: 370.1 kB / 442 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.3306, allocations: 10.34 kB / 442 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.3318, allocations: 436.5 kB / 442.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.385e-06/0.3318, allocations: 0 / 442.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0146/0.3464, allocations: 2.38 MB / 444.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3465, allocations: 87.3 kB / 444.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.347, allocations: 417.9 kB / 445.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.347, allocations: 32.55 kB / 445.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3472, allocations: 240.4 kB / 445.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3473, allocations: 144.5 kB / 445.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3474, allocations: 69.94 kB / 445.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.3475, allocations: 359.5 kB / 446.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008827/0.3484, allocations: 294.5 kB / 446.4 MB, free: 2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000878/0.3493, allocations: 342 kB / 446.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.3509, allocations: 0.5955 MB / 447.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3509, allocations: 1.406 kB / 447.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003485/0.3544, allocations: 0.9893 MB / 448.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.3544, allocations: 33.5 kB / 448.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3545, allocations: 1.438 kB / 448.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.3557, allocations: 438.4 kB / 448.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.3562, allocations: 92.19 kB / 448.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008487/0.3647, allocations: 3.812 MB / 452.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/0.3655, allocations: 98.69 kB / 452.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.3655, allocations: 16.45 kB / 452.8 MB, free: 14.59 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.0002999/0.3658, allocations: 170 kB / 453 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.3659, allocations: 56.77 kB / 453.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3661, allocations: 55.12 kB / 453.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3661, allocations: 8.125 kB / 453.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3661, allocations: 4.984 kB / 453.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3661, allocations: 1.719 kB / 453.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/0.3668, allocations: 0.627 MB / 453.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3668, allocations: 1.344 kB / 453.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.3673, allocations: 78.95 kB / 453.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.3685, allocations: 432.7 kB / 454.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.3685, allocations: 10.27 kB / 454.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008622/0.3772, allocations: 3.817 MB / 458.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3772, allocations: 0 / 458.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/0.3831, allocations: 1.493 MB / 459.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.3835, allocations: 180.2 kB / 459.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.3836, allocations: 18.72 kB / 459.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.3841, allocations: 78.38 kB / 459.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.3843, allocations: 46.69 kB / 459.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.3844, allocations: 12.64 kB / 459.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.3847, allocations: 294.3 kB / 460.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3847, allocations: 5.125 kB / 460.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007347/0.3855, allocations: 173.6 kB / 460.4 MB, free: 9.508 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.006475/0.392, allocations: 2.058 MB / 462.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.3947, allocations: 0.9359 MB / 463.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3947, allocations: 0 / 463.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.3962, allocations: 0.5876 MB / 464 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.3968, allocations: 87.31 kB / 464 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.4122, allocations: 5.958 MB / 470 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4127, allocations: 0.8425 MB / 470.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.413, allocations: 39.23 kB / 470.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.4133, allocations: 168 kB / 471 MB, free: 2.684 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4133, allocations: 0 / 471 MB, free: 2.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05317/0.4664, allocations: 18.63 MB / 489.7 MB, free: 348 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.62, allocations: 8.062 kB / 489.7 MB, free: 340 kB / 382.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: 14.961331128142774] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 12.722617485094815 12.737591528 12.420399201 Calling exit ...