Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001275/0.001275, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001365/0.001365, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09421, allocations: 53.31 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00429/0.0985, allocations: 2.954 MB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.0998, allocations: 0.7985 MB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.09992, allocations: 7.938 kB / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1001, allocations: 55.5 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1003, allocations: 95.12 kB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1006, allocations: 115.8 kB / 430.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.101, allocations: 410.3 kB / 431.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.1012, allocations: 87.28 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1014, allocations: 167.4 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1812/0.2827, allocations: 162.3 kB / 431.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2828, allocations: 36.69 kB / 431.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.283, allocations: 42.31 kB / 431.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.283, allocations: 73.83 kB / 431.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.2832, allocations: 176.5 kB / 432 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.2837, allocations: 439.2 kB / 432.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2837, allocations: 3.625 kB / 432.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2837, allocations: 0.9688 kB / 432.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.2837, allocations: 0 / 432.5 MB, free: 7.777 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001006/0.2847, allocations: 0.6349 MB / 433.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2848, allocations: 9.375 kB / 433.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.2848, allocations: 57.08 kB / 433.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.285, allocations: 49.61 kB / 433.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2854, allocations: 290.3 kB / 433.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2854, allocations: 19.97 kB / 433.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.2854, allocations: 24.94 kB / 433.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.2859, allocations: 294.9 kB / 433.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2859, allocations: 0 / 433.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2859, allocations: 9.031 kB / 433.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2859, allocations: 8.312 kB / 433.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.2863, allocations: 209 kB / 434.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2876, allocations: 1.145 MB / 435.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.2881, allocations: 200.6 kB / 435.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.2883, allocations: 127 kB / 435.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2884, allocations: 3.75 kB / 435.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.2886, allocations: 172.1 kB / 435.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.2886, allocations: 0 / 435.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001252/0.2899, allocations: 0.5103 MB / 436.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2899, allocations: 133.7 kB / 436.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2902, allocations: 245.8 kB / 436.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2902, allocations: 31.08 kB / 436.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.2903, allocations: 180.5 kB / 436.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.2903, allocations: 71.81 kB / 436.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.2904, allocations: 51.02 kB / 436.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.2904, allocations: 335.5 kB / 437.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2906, allocations: 74.81 kB / 437.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2907, allocations: 128.7 kB / 437.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.291, allocations: 166.1 kB / 437.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.291, allocations: 0 / 437.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004209/0.2914, allocations: 289.4 kB / 437.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2914, allocations: 13.83 kB / 437.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2914, allocations: 1.719 kB / 437.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.2917, allocations: 89.59 kB / 438 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2918, allocations: 29.64 kB / 438 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.2936, allocations: 2.146 MB / 440.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.2938, allocations: 32.45 kB / 440.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2938, allocations: 10.44 kB / 440.2 MB, free: 3.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.2939, allocations: 146.4 kB / 440.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.294, allocations: 28.89 kB / 440.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.294, allocations: 31.08 kB / 440.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.294, allocations: 10.53 kB / 440.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.294, allocations: 0.6094 kB / 440.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.294, allocations: 2.453 kB / 440.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.2948, allocations: 0.765 MB / 441.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2948, allocations: 0 / 441.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2949, allocations: 21.36 kB / 441.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.2952, allocations: 91.02 kB / 441.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2952, allocations: 5.875 kB / 441.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.2968, allocations: 2.144 MB / 443.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2968, allocations: 3.188 kB / 443.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.2974, allocations: 446.1 kB / 443.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.2975, allocations: 131.3 kB / 444 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2975, allocations: 7.281 kB / 444 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2977, allocations: 21.73 kB / 444 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.2978, allocations: 33.28 kB / 444.1 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2978, allocations: 12.23 kB / 444.1 MB, free: 336 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.298, allocations: 176.5 kB / 444.2 MB, free: 232 kB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.298, allocations: 0 / 444.2 MB, free: 232 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.2984, allocations: 92.36 kB / 444.3 MB, free: 212 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.2994, allocations: 0.9908 MB / 445.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.3001, allocations: 348.5 kB / 445.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3002, allocations: 0 / 445.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.3006, allocations: 256.5 kB / 445.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.301, allocations: 55.25 kB / 446 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.3049, allocations: 2.776 MB / 448.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.3054, allocations: 0.7694 MB / 449.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3055, allocations: 19.97 kB / 449.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3056, allocations: 83.17 kB / 449.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3056, allocations: 7.75 kB / 449.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03931/0.3449, allocations: 7.654 MB / 457.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.86, allocations: 9.359 kB / 457.3 MB, free: 10.76 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit_fmu --startTime=0 --stopTime=2 --stepSize=0.00039604 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.120557215996087] Failed to read output from testmodel.py, exit status != 0: ['time', 'idealTriac.capacitor.v', 'idealTriac.idealThyristor.off', 'idealTriac.idealThyristor1.off'] 11.954298838041723 11.968856391 11.68234391 Calling exit ...