Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001461/0.001461, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001466/0.001466, allocations: 209.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2508, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005772/0.2565, allocations: 4.14 MB / 436.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.2587, allocations: 1.075 MB / 437.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.259, allocations: 11.94 kB / 437.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.2593, allocations: 83.14 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.2596, allocations: 190.4 kB / 437.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.2602, allocations: 223.7 kB / 437.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.2611, allocations: 0.8329 MB / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.2613, allocations: 122.6 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.2618, allocations: 322.9 kB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.2622, allocations: 362.6 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2623, allocations: 84 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2624, allocations: 91.98 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.2626, allocations: 159.4 kB / 439.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.2629, allocations: 338.5 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008695/0.2638, allocations: 0.8598 MB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2638, allocations: 4 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2638, allocations: 4 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2638, allocations: 0 / 440.8 MB, free: 13.79 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.002664/0.2665, allocations: 0.974 MB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.2665, allocations: 8.031 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.598e-05/0.2665, allocations: 13.19 kB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.998e-05/0.2666, allocations: 78.7 kB / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.2669, allocations: 68.56 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.2676, allocations: 368.4 kB / 442.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.2676, allocations: 33.31 kB / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.2677, allocations: 40.38 kB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.2692, allocations: 0.6028 MB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2692, allocations: 0 / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.2693, allocations: 19.94 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2693, allocations: 8 kB / 443 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.2712, allocations: 0.6401 MB / 443.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.275, allocations: 2.122 MB / 445.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.2788, allocations: 0.8276 MB / 446.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2799, allocations: 376.7 kB / 447 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.2799, allocations: 8.312 kB / 447 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.2811, allocations: 438.5 kB / 447.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.2811, allocations: 0 / 447.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01419/0.2953, allocations: 2.301 MB / 449.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.2954, allocations: 89.05 kB / 449.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.296, allocations: 421.9 kB / 450.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/0.2961, allocations: 29.7 kB / 450.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.2963, allocations: 240.9 kB / 450.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.2964, allocations: 138.8 kB / 450.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.2966, allocations: 74.05 kB / 450.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2968, allocations: 354.8 kB / 451 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009666/0.2977, allocations: 300.5 kB / 451.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.2987, allocations: 346.1 kB / 451.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.3006, allocations: 0.5913 MB / 452.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3006, allocations: 0 / 452.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003783/0.3044, allocations: 0.9902 MB / 453.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.3044, allocations: 37.7 kB / 453.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3044, allocations: 0 / 453.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.3058, allocations: 432.5 kB / 453.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.3062, allocations: 91.86 kB / 453.8 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008899/0.3151, allocations: 3.723 MB / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.3159, allocations: 91.73 kB / 457.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.3159, allocations: 16.09 kB / 457.6 MB, free: 12.55 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.0003111/0.3163, allocations: 182.4 kB / 457.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3164, allocations: 47.67 kB / 457.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.3165, allocations: 60.53 kB / 457.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3165, allocations: 4 kB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3165, allocations: 0 / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3165, allocations: 3.984 kB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/0.3173, allocations: 0.5901 MB / 458.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3173, allocations: 0 / 458.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.3178, allocations: 87.86 kB / 458.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.319, allocations: 428.5 kB / 459 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.3191, allocations: 19.86 kB / 459 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008566/0.3276, allocations: 3.701 MB / 462.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3276, allocations: 0 / 462.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.3337, allocations: 1.5 MB / 464.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.334, allocations: 103.6 kB / 464.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3342, allocations: 11.94 kB / 464.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.3348, allocations: 75.91 kB / 464.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.3349, allocations: 55.84 kB / 464.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.335, allocations: 12.17 kB / 464.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.3354, allocations: 291.2 kB / 464.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3354, allocations: 4 kB / 464.8 MB, free: 5.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007056/0.3361, allocations: 183.8 kB / 465 MB, free: 5.039 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.006429/0.3425, allocations: 2.045 MB / 467 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.3457, allocations: 0.9423 MB / 468 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.3457, allocations: 0 / 468 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.3476, allocations: 0.5801 MB / 468.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.3484, allocations: 93.44 kB / 468.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.3645, allocations: 5.957 MB / 474.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.365, allocations: 0.8394 MB / 475.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.3652, allocations: 39.41 kB / 475.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.3655, allocations: 167.4 kB / 475.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3655, allocations: 0 / 475.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/0.4173, allocations: 19.04 MB / 494.7 MB, free: 7.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.66, allocations: 7.719 kB / 494.7 MB, free: 7.309 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.052873183973134] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.83445943100378 13.853436529 13.586431214 Calling exit ...