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.0006978/0.0006978, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008249/0.0008249, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.897/0.897, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.303e-06/1.303e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2e-05, allocations: 3.266 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003405/0.003425, allocations: 3.725 MB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004706, allocations: 1.032 MB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.004877, allocations: 12 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.005042, allocations: 83.14 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.005328, allocations: 202.2 kB / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.005729, allocations: 235.6 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009783/0.006707, allocations: 0.8519 MB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.006887, allocations: 113.5 kB / 330.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000743/0.00763, allocations: 471 kB / 331.2 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.007939, allocations: 283.2 kB / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/0.008017, allocations: 84 kB / 331.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.008122, allocations: 87.98 kB / 331.7 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.00821, allocations: 155.5 kB / 331.8 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.008389, allocations: 251.4 kB / 332.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006788/0.009067, allocations: 0.9115 MB / 333 MB, free: 7.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.009072, allocations: 0 / 333 MB, free: 7.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.009073, allocations: 0 / 333 MB, free: 7.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.009086, allocations: 0 / 333 MB, free: 7.363 MB / 298.7 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.001594/0.01068, allocations: 0.9662 MB / 334 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.01072, allocations: 11.98 kB / 334 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.894e-05/0.01079, allocations: 70.72 kB / 334 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.01095, allocations: 76.55 kB / 334.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.01141, allocations: 371.6 kB / 334.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.01144, allocations: 29.38 kB / 334.5 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.01149, allocations: 36.38 kB / 334.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.01235, allocations: 0.6207 MB / 335.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.01236, allocations: 8.125 kB / 335.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.01239, allocations: 20.12 kB / 335.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.0124, allocations: 8 kB / 335.2 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.01346, allocations: 0.6362 MB / 335.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.01567, allocations: 1.971 MB / 337.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.01763, allocations: 0.8236 MB / 338.6 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.01823, allocations: 369.2 kB / 339 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.01827, allocations: 12.31 kB / 339 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006839/0.01895, allocations: 460.3 kB / 339.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.01895, allocations: 0 / 339.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.006463/0.02541, allocations: 2.305 MB / 341.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.02547, allocations: 89.05 kB / 341.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.02583, allocations: 421.9 kB / 342.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.02587, allocations: 33.7 kB / 342.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.026, allocations: 232.9 kB / 342.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.02612, allocations: 142.8 kB / 342.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02624, allocations: 74.06 kB / 342.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.02634, allocations: 358.7 kB / 343.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.02685, allocations: 330.4 kB / 343.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.02738, allocations: 389.9 kB / 343.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.02832, allocations: 0.5952 MB / 344.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02833, allocations: 0 / 344.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001811/0.03014, allocations: 1.031 MB / 345.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.03017, allocations: 33.7 kB / 345.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.03018, allocations: 0 / 345.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/0.03092, allocations: 443.8 kB / 345.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.03116, allocations: 83.86 kB / 346 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.03609, allocations: 3.633 MB / 349.6 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.03645, allocations: 95.69 kB / 349.7 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.03648, allocations: 12 kB / 349.7 MB, free: 6.176 MB / 314.7 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.0001923/0.03667, allocations: 173.7 kB / 349.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.03672, allocations: 51.67 kB / 349.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.03679, allocations: 56.52 kB / 350 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.03679, allocations: 4 kB / 350 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.03679, allocations: 0 / 350 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.0368, allocations: 11.92 kB / 350 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.03722, allocations: 484.8 kB / 350.5 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.03723, allocations: 7.984 kB / 350.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.03746, allocations: 87.86 kB / 350.5 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006665/0.03813, allocations: 431.3 kB / 351 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.03816, allocations: 15.98 kB / 351 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.04263, allocations: 3.624 MB / 354.6 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.04263, allocations: 4 kB / 354.6 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.0456, allocations: 1.493 MB / 356.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.04578, allocations: 103.6 kB / 356.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.04582, allocations: 11.94 kB / 356.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.04609, allocations: 71.91 kB / 356.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.04621, allocations: 55.84 kB / 356.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.04624, allocations: 19.92 kB / 356.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.04648, allocations: 291.2 kB / 356.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04648, allocations: 0 / 356.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.04698, allocations: 183.8 kB / 356.8 MB, free: 14.85 MB / 330.7 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.003212/0.05019, allocations: 2.045 MB / 358.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.05171, allocations: 0.9636 MB / 359.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05172, allocations: 0 / 359.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.05258, allocations: 0.5763 MB / 360.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.0529, allocations: 84.52 kB / 360.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008745/0.06164, allocations: 6.028 MB / 366.5 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.06183, allocations: 236.8 kB / 366.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.06202, allocations: 47.39 kB / 366.8 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.0622, allocations: 164.4 kB / 367 MB, free: 4.488 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0622, allocations: 4 kB / 367 MB, free: 4.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.09755, allocations: 19.21 MB / 386.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.014, allocations: 6.062 kB / 386.2 MB, free: 1.434 MB / 346.7 MB " [Timeout remaining time 652] (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: 9.65507049486041] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 8.114070918411016 8.122663288 8.111888331 Calling exit ...