Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 103.9 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 188.8 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005184/0.2355, allocations: 3.624 MB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.2379, allocations: 1.371 MB / 428.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.2382, allocations: 11.94 kB / 428.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008069/0.239, allocations: 250.8 kB / 428.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.2396, allocations: 258.4 kB / 428.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.2403, allocations: 305.2 kB / 429.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.241, allocations: 0.7085 MB / 429.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.2413, allocations: 121.4 kB / 430 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.2416, allocations: 287 kB / 430.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.242, allocations: 298.8 kB / 430.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.2421, allocations: 52 kB / 430.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.2423, allocations: 108 kB / 430.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2425, allocations: 147.4 kB / 430.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.2427, allocations: 246.8 kB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008046/0.2435, allocations: 0.7157 MB / 431.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2435, allocations: 0 / 431.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2435, allocations: 4 kB / 431.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2435, allocations: 0 / 431.8 MB, free: 5.883 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001639/0.2452, allocations: 0.881 MB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2452, allocations: 8.031 kB / 432.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.181e-05/0.2453, allocations: 13.19 kB / 432.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.928e-05/0.2453, allocations: 82.7 kB / 432.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2455, allocations: 72.52 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.246, allocations: 348.3 kB / 433.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.2461, allocations: 33.12 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.2461, allocations: 40 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.247, allocations: 0.5567 MB / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.247, allocations: 4 kB / 433.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.2471, allocations: 20 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2471, allocations: 12 kB / 433.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/0.2477, allocations: 315.8 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.2501, allocations: 1.555 MB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.2508, allocations: 326.9 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.2511, allocations: 168.2 kB / 436.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.2511, allocations: 11.88 kB / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.2517, allocations: 369.2 kB / 436.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.2517, allocations: 0 / 436.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002077/0.2537, allocations: 0.7197 MB / 437.3 MB, free: 80 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.2539, allocations: 187.9 kB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.2545, allocations: 0.494 MB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.2545, allocations: 41.7 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2547, allocations: 248.8 kB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2549, allocations: 130.9 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.255, allocations: 78.12 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.2552, allocations: 358.8 kB / 438.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.2555, allocations: 120.8 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.2559, allocations: 371.4 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.2564, allocations: 277.3 kB / 439.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2564, allocations: 0 / 439.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008511/0.2573, allocations: 473 kB / 440 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2573, allocations: 4 kB / 440.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2573, allocations: 7.984 kB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.2578, allocations: 159.3 kB / 440.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.258, allocations: 52 kB / 440.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/0.2636, allocations: 6.207 MB / 446.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.264, allocations: 51.75 kB / 446.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.264, allocations: 16 kB / 446.5 MB, free: 6.219 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: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.2643, allocations: 187.9 kB / 446.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.2644, allocations: 55.61 kB / 446.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2654, allocations: 0.4935 MB / 447.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2654, allocations: 4 kB / 447.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2654, allocations: 128 / 447.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2654, allocations: 7.984 kB / 447.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.266, allocations: 420.3 kB / 447.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.266, allocations: 0 / 447.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2661, allocations: 35.86 kB / 447.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.2666, allocations: 151.3 kB / 447.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.2666, allocations: 12 kB / 447.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.2719, allocations: 5.922 MB / 453.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2719, allocations: 3.984 kB / 453.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2729, allocations: 0.5114 MB / 454.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.2731, allocations: 83.55 kB / 454.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.2732, allocations: 8 kB / 454.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.2734, allocations: 31.97 kB / 454.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.2736, allocations: 51.91 kB / 454.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.2736, allocations: 23.86 kB / 454.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004364/0.274, allocations: 363.1 kB / 454.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.274, allocations: 0 / 454.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.2748, allocations: 175.7 kB / 455 MB, free: 13.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002777/0.2776, allocations: 1.399 MB / 456.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.2788, allocations: 0.7911 MB / 457.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2788, allocations: 0 / 457.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007847/0.2796, allocations: 0.6468 MB / 457.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.2802, allocations: 121.8 kB / 458 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.2865, allocations: 4.245 MB / 462.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2868, allocations: 263.2 kB / 462.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.287, allocations: 56.14 kB / 462.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.2872, allocations: 167.4 kB / 462.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2872, allocations: 0 / 462.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/0.3357, allocations: 15 MB / 477.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.32, allocations: 3.031 kB / 477.7 MB, free: 6.605 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.676526219933294] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.551230718032457 13.579911841 13.330342619 Calling exit ...