Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.007951/0.007951, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 55.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2434, allocations: 49.15 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003922/0.2473, allocations: 3.924 MB / 401.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.2489, allocations: 1.033 MB / 402.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.2491, allocations: 6 kB / 402.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.2493, allocations: 90.16 kB / 402.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.2495, allocations: 171.8 kB / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.25, allocations: 203.7 kB / 402.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.2506, allocations: 0.7694 MB / 403.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2508, allocations: 124.1 kB / 403.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.2512, allocations: 298 kB / 403.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.2516, allocations: 337.9 kB / 404.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.2517, allocations: 77.22 kB / 404.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2518, allocations: 76.34 kB / 404.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2519, allocations: 152.6 kB / 404.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.2521, allocations: 313.1 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.2528, allocations: 0.807 MB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2528, allocations: 0 / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2528, allocations: 4 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.2528, allocations: 0 / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002193/0.255, allocations: 0.9211 MB / 406.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.255, allocations: 14.86 kB / 406.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.255, allocations: 9.25 kB / 406.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.2551, allocations: 74.7 kB / 406.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.2552, allocations: 62.56 kB / 406.6 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.2557, allocations: 348 kB / 406.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.2557, allocations: 32.22 kB / 406.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.2558, allocations: 40.92 kB / 407 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2571, allocations: 0.5549 MB / 407.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2571, allocations: 1.891 kB / 407.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.2571, allocations: 18.88 kB / 407.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.2571, allocations: 9.562 kB / 407.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.2588, allocations: 0.5695 MB / 408.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.2619, allocations: 1.963 MB / 410.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.2652, allocations: 0.7671 MB / 410.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/0.2661, allocations: 337.1 kB / 411.2 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.2661, allocations: 12.64 kB / 411.2 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009481/0.2671, allocations: 399.7 kB / 411.6 MB, free: 236 kB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.2671, allocations: 1.344 kB / 411.6 MB, free: 236 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.009118/0.2762, allocations: 1.72 MB / 413.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.2763, allocations: 81.3 kB / 413.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.2767, allocations: 385.2 kB / 413.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.2768, allocations: 36.83 kB / 413.8 MB, free: 15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.277, allocations: 226.3 kB / 414 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.2772, allocations: 133.4 kB / 414.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2773, allocations: 76.45 kB / 414.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2775, allocations: 348.2 kB / 414.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.2783, allocations: 266.2 kB / 414.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.2792, allocations: 312.7 kB / 415.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.2808, allocations: 0.544 MB / 415.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2808, allocations: 0 / 415.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004519/0.2853, allocations: 1.042 MB / 416.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.2853, allocations: 35.33 kB / 416.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2853, allocations: 5.156 kB / 416.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.2865, allocations: 400.3 kB / 417.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.287, allocations: 81.38 kB / 417.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.2951, allocations: 3.566 MB / 420.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.2958, allocations: 87.09 kB / 420.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.2958, allocations: 13.34 kB / 420.9 MB, free: 10.18 MB / 334.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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.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.0002698/0.2961, allocations: 177.5 kB / 421.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.2961, allocations: 45.69 kB / 421.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2963, allocations: 53.92 kB / 421.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2963, allocations: 4.844 kB / 421.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2963, allocations: 3.938 kB / 421.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2963, allocations: 0 / 421.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.297, allocations: 0.5654 MB / 421.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.297, allocations: 0 / 421.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.2974, allocations: 78.55 kB / 421.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.2985, allocations: 395.4 kB / 422.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.2985, allocations: 10.36 kB / 422.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008032/0.3066, allocations: 3.555 MB / 425.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3066, allocations: 0 / 425.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.311, allocations: 1.248 MB / 427 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.3113, allocations: 99.58 kB / 427.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.3114, allocations: 8 kB / 427.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.3119, allocations: 71.86 kB / 427.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.312, allocations: 47.91 kB / 427.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.3121, allocations: 12 kB / 427.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.3124, allocations: 275.2 kB / 427.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3124, allocations: 4 kB / 427.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006251/0.313, allocations: 167.8 kB / 427.7 MB, free: 4.137 MB / 334.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,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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.004801/0.3178, allocations: 1.823 MB / 429.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.3204, allocations: 0.8488 MB / 430.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3204, allocations: 4.062 kB / 430.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.3218, allocations: 0.522 MB / 430.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.3224, allocations: 85.45 kB / 431 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.3356, allocations: 5.459 MB / 436.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.3361, allocations: 0.8277 MB / 437.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.3363, allocations: 39.28 kB / 437.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.3365, allocations: 155.4 kB / 437.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3365, allocations: 0 / 437.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.384, allocations: 17.96 MB / 455.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.24, allocations: 0 / 455.4 MB, free: 8.141 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.494316424010321] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.413882520981133 13.426962164 13.171200732 Calling exit ...