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.001752/0.001752, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002259/0.002259, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.003447/0.003447, allocations: 72.55 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2905, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004272/0.2948, allocations: 2.974 MB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2963, allocations: 0.7907 MB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.2964, allocations: 11.94 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.2966, allocations: 55.44 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2968, allocations: 107.1 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.2971, allocations: 115.8 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.2976, allocations: 410.3 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2978, allocations: 95.33 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.298, allocations: 151.5 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.2983, allocations: 171.2 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.2984, allocations: 36 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.2985, allocations: 48 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.2985, allocations: 71.77 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2987, allocations: 179.1 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.2993, allocations: 439.5 kB / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2993, allocations: 0 / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2993, allocations: 0 / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2993, allocations: 4 kB / 437.5 MB, free: 1.242 MB / 334.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.001065/0.3003, allocations: 0.5567 MB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3004, allocations: 12.03 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.455e-05/0.3004, allocations: 62.67 kB / 438.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3006, allocations: 48.69 kB / 438.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.3011, allocations: 234.8 kB / 438.4 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3011, allocations: 20.88 kB / 438.5 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.3011, allocations: 24.38 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.3017, allocations: 287.7 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3017, allocations: 0 / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.3017, allocations: 8 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3017, allocations: 8 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.3022, allocations: 209.8 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.304, allocations: 1.117 MB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.3045, allocations: 194.6 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3048, allocations: 124.8 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3048, allocations: 0 / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.3052, allocations: 172.4 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.3052, allocations: 0 / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001384/0.3066, allocations: 449.1 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3067, allocations: 132.5 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3069, allocations: 245.1 kB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.307, allocations: 29.73 kB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3071, allocations: 176.6 kB / 441.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.3072, allocations: 71.42 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3073, allocations: 49.66 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3075, allocations: 334.8 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3077, allocations: 71.97 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3079, allocations: 133.7 kB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3082, allocations: 171.3 kB / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3082, allocations: 0 / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005127/0.3087, allocations: 286.2 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3087, allocations: 10.5 kB / 442.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3087, allocations: 0 / 442.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.3091, allocations: 96.73 kB / 442.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3093, allocations: 31.92 kB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.3119, allocations: 2.043 MB / 444.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3122, allocations: 35.86 kB / 444.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3122, allocations: 4 kB / 444.9 MB, free: 9.453 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.0002182/0.3124, allocations: 153.8 kB / 445.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.3125, allocations: 27.8 kB / 445.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.3125, allocations: 34.34 kB / 445.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3125, allocations: 3.984 kB / 445.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3125, allocations: 7.938 kB / 445.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3125, allocations: 0 / 445.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.3135, allocations: 0.7328 MB / 445.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3135, allocations: 4 kB / 445.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3136, allocations: 15.98 kB / 445.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.3139, allocations: 92.83 kB / 446 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.3139, allocations: 4 kB / 446 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.3163, allocations: 2.043 MB / 448 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3163, allocations: 7.984 kB / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.317, allocations: 456.6 kB / 448.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3171, allocations: 43.83 kB / 448.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3171, allocations: 7.984 kB / 448.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3173, allocations: 15.98 kB / 448.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.3174, allocations: 40 kB / 448.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3174, allocations: 4 kB / 448.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3176, allocations: 180.5 kB / 448.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3176, allocations: 0 / 448.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000455/0.3181, allocations: 91.83 kB / 448.9 MB, free: 5.312 MB / 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.001009/0.3191, allocations: 0.9872 MB / 449.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.3198, allocations: 346.5 kB / 450.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3198, allocations: 256 / 450.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.3202, allocations: 262.5 kB / 450.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.3206, allocations: 60.38 kB / 450.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.3243, allocations: 2.773 MB / 453.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.3247, allocations: 0.7678 MB / 454 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.3248, allocations: 22.28 kB / 454.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3249, allocations: 83.34 kB / 454.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3249, allocations: 0 / 454.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.3627, allocations: 7.804 MB / 461.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.2, allocations: 3.938 kB / 461.9 MB, free: 8.207 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.606674454174936] Failed to read output from testmodel.py, exit status != 0: ['time', 'idealTriac.capacitor.v', 'idealTriac.idealThyristor.off', 'idealTriac.idealThyristor1.off'] 12.298111075069755 12.312179771 12.009777756 Calling exit ...