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.001388/0.001388, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001494/0.001494, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2476, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005599/0.2532, allocations: 4.136 MB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.2555, allocations: 1.071 MB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.2559, allocations: 11.94 kB / 436.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.2562, allocations: 87.12 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.2566, allocations: 186.4 kB / 436.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.2572, allocations: 231.6 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.2581, allocations: 0.8251 MB / 437.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.2583, allocations: 124.8 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.2589, allocations: 326.9 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.2593, allocations: 370.5 kB / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.2594, allocations: 84 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2596, allocations: 88 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2597, allocations: 159.4 kB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.2601, allocations: 342.5 kB / 439.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.2611, allocations: 0.8533 MB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2611, allocations: 0 / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2611, allocations: 0 / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.2611, allocations: 0 / 440 MB, free: 13.8 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.002855/0.264, allocations: 0.9818 MB / 441 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.264, allocations: 8.031 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.995e-05/0.2641, allocations: 74.72 kB / 441.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.2643, allocations: 72.55 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.265, allocations: 376.3 kB / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.265, allocations: 37.31 kB / 441.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.2651, allocations: 36.38 kB / 441.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.2665, allocations: 0.5952 MB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2665, allocations: 4 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.2666, allocations: 23.94 kB / 442.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2666, allocations: 8 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.2685, allocations: 0.6323 MB / 442.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.2725, allocations: 2.119 MB / 445 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00397/0.2764, allocations: 0.8272 MB / 445.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.2776, allocations: 377.2 kB / 446.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.2776, allocations: 16.28 kB / 446.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.2789, allocations: 430.6 kB / 446.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.577e-06/0.2789, allocations: 0 / 446.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01453/0.2934, allocations: 2.301 MB / 448.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.2935, allocations: 97.05 kB / 449 MB, free: 4.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.2941, allocations: 413.9 kB / 449.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.2942, allocations: 37.64 kB / 449.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.2944, allocations: 232.9 kB / 449.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.2946, allocations: 142.8 kB / 449.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.2948, allocations: 70.06 kB / 449.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2949, allocations: 358.7 kB / 450.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.296, allocations: 304.6 kB / 450.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009857/0.2969, allocations: 338.1 kB / 450.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.2987, allocations: 0.5952 MB / 451.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2987, allocations: 0 / 451.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003782/0.3025, allocations: 1.002 MB / 452.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.3025, allocations: 33.7 kB / 452.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3025, allocations: 0 / 452.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.3039, allocations: 439.3 kB / 452.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.3043, allocations: 87.86 kB / 453 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00913/0.3135, allocations: 3.717 MB / 456.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.3143, allocations: 91.69 kB / 456.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.3143, allocations: 12 kB / 456.8 MB, free: 12.56 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.0003228/0.3146, allocations: 174.5 kB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.3147, allocations: 51.67 kB / 457.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.3149, allocations: 60.52 kB / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3149, allocations: 4 kB / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3149, allocations: 96 / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3149, allocations: 3.984 kB / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.3157, allocations: 0.5901 MB / 457.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3157, allocations: 4 kB / 457.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.3161, allocations: 87.86 kB / 457.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.3173, allocations: 428.5 kB / 458.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.3173, allocations: 12 kB / 458.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.3258, allocations: 3.701 MB / 461.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3258, allocations: 3.938 kB / 461.9 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/0.3318, allocations: 1.5 MB / 463.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.3321, allocations: 103.6 kB / 463.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.3321, allocations: 15.94 kB / 463.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.3327, allocations: 67.91 kB / 463.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.3329, allocations: 59.84 kB / 463.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.3329, allocations: 12 kB / 463.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003392/0.3332, allocations: 299.1 kB / 464 MB, free: 5.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3332, allocations: 0 / 464 MB, free: 5.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000611/0.3338, allocations: 183.8 kB / 464.2 MB, free: 5.047 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.006328/0.3402, allocations: 2.041 MB / 466.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.3429, allocations: 0.9424 MB / 467.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3429, allocations: 4.062 kB / 467.2 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.3445, allocations: 0.5725 MB / 467.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.345, allocations: 89.48 kB / 467.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.3606, allocations: 5.96 MB / 473.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.3611, allocations: 0.8394 MB / 474.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.3614, allocations: 39.41 kB / 474.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.3617, allocations: 167.4 kB / 474.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.374e-06/0.3617, allocations: 0 / 474.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06504/0.4268, allocations: 19 MB / 493.8 MB, free: 7.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.58, allocations: 15.88 kB / 493.8 MB, free: 7.344 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: 15.882764171110466] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.698580098105595 13.714651428 13.450341407 Calling exit ...