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.001302/0.001302, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001531/0.001531, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.432/1.432, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.001815/0.001815, allocations: 63.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2699, allocations: 53.41 MB / 431.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006227/0.2761, allocations: 3.702 MB / 435.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2785, allocations: 1.028 MB / 436.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.279, allocations: 7.938 kB / 436.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.2794, allocations: 87.14 kB / 436.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.28, allocations: 194.4 kB / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.2807, allocations: 231.6 kB / 437.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2819, allocations: 0.825 MB / 438 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.2823, allocations: 117.4 kB / 438.1 MB, free: 228 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006783/0.2829, allocations: 338.9 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.2836, allocations: 362.5 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.2837, allocations: 84 kB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.284, allocations: 91.98 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.2841, allocations: 155.5 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.2846, allocations: 282.8 kB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.2856, allocations: 0.864 MB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2856, allocations: 3.938 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2856, allocations: 0 / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.2857, allocations: 0 / 440.3 MB, free: 14.06 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.002982/0.2887, allocations: 0.9818 MB / 441.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2887, allocations: 12.02 kB / 441.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.824e-05/0.2887, allocations: 13.19 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.2888, allocations: 70.72 kB / 441.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.2891, allocations: 76.55 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.2898, allocations: 368.3 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.2898, allocations: 29.38 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.2899, allocations: 40.38 kB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2914, allocations: 0.6279 MB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2915, allocations: 0 / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.2915, allocations: 16 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2915, allocations: 12 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.2935, allocations: 0.6401 MB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.2974, allocations: 1.959 MB / 445.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.3015, allocations: 0.8314 MB / 445.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.3025, allocations: 372.6 kB / 446.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.3026, allocations: 8.328 kB / 446.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.3037, allocations: 468.2 kB / 446.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.3037, allocations: 3.938 kB / 446.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01506/0.3188, allocations: 2.297 MB / 449 MB, free: 5.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.3189, allocations: 81.11 kB / 449.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.3195, allocations: 425.9 kB / 449.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.3196, allocations: 37.7 kB / 449.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.3198, allocations: 236.9 kB / 449.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.32, allocations: 138.8 kB / 449.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.3202, allocations: 74.05 kB / 450 MB, free: 4.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3203, allocations: 354.8 kB / 450.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3214, allocations: 322.3 kB / 450.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.3224, allocations: 401.5 kB / 451.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.3241, allocations: 0.5951 MB / 451.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3241, allocations: 0 / 451.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003705/0.3278, allocations: 1.019 MB / 452.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.3279, allocations: 45.62 kB / 452.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3279, allocations: 0 / 452.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.3292, allocations: 432.5 kB / 453.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.3297, allocations: 95.84 kB / 453.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/0.3386, allocations: 3.628 MB / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/0.3394, allocations: 103.7 kB / 457 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.3394, allocations: 15.98 kB / 457 MB, free: 12.85 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.0002865/0.3397, allocations: 170.5 kB / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.3398, allocations: 51.67 kB / 457.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.3399, allocations: 60.52 kB / 457.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3399, allocations: 4 kB / 457.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3399, allocations: 0 / 457.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3399, allocations: 0 / 457.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.3406, allocations: 492.5 kB / 457.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3406, allocations: 7.875 kB / 457.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.3411, allocations: 83.92 kB / 457.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.3423, allocations: 435.5 kB / 458.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.3423, allocations: 12 kB / 458.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.351, allocations: 3.627 MB / 461.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.351, allocations: 3.938 kB / 461.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/0.3572, allocations: 1.504 MB / 463.4 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.3576, allocations: 99.62 kB / 463.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.3577, allocations: 11.94 kB / 463.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.3583, allocations: 75.91 kB / 463.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.3585, allocations: 51.91 kB / 463.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3585, allocations: 12 kB / 463.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003653/0.3589, allocations: 295.1 kB / 463.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3589, allocations: 0 / 463.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006459/0.3595, allocations: 179.8 kB / 464.1 MB, free: 5.535 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.006436/0.3659, allocations: 2.045 MB / 466.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.3688, allocations: 0.9675 MB / 467.1 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3688, allocations: 0 / 467.1 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.3704, allocations: 0.5879 MB / 467.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.371, allocations: 81.83 kB / 467.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.3865, allocations: 6.081 MB / 473.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3868, allocations: 232.9 kB / 474.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.387, allocations: 47.38 kB / 474.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.3873, allocations: 167.4 kB / 474.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3873, allocations: 0 / 474.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.4413, allocations: 18.6 MB / 492.9 MB, free: 8.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.85, allocations: 8 kB / 492.9 MB, free: 8.695 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.266314915032126] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 14.029085526941344 14.044936629 13.755999461 Calling exit ...