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.00125/0.00125, allocations: 108.6 kB / 21.22 MB, free: 0.7266 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.001503/0.001503, allocations: 187.5 kB / 24.5 MB, free: 4.082 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.356/1.356, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001471/0.001471, allocations: 47.92 kB / 371.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2487, allocations: 52.19 MB / 423.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005714/0.2544, allocations: 4.003 MB / 427.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.257, allocations: 1.457 MB / 428.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.2573, allocations: 7.938 kB / 428.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.2581, allocations: 258.8 kB / 429.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.2586, allocations: 253.2 kB / 429.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.2592, allocations: 295.3 kB / 429.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007565/0.26, allocations: 0.7085 MB / 430.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2602, allocations: 121 kB / 430.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.2606, allocations: 287 kB / 430.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.261, allocations: 302.8 kB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.261, allocations: 52 kB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.2613, allocations: 107.9 kB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2614, allocations: 143.5 kB / 431.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.2617, allocations: 306.4 kB / 431.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.2625, allocations: 0.7013 MB / 432.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2625, allocations: 0 / 432.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2625, allocations: 0 / 432.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2625, allocations: 0 / 432.4 MB, free: 5.578 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.001601/0.2641, allocations: 0.881 MB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2642, allocations: 16.02 kB / 433.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.945e-05/0.2642, allocations: 13.19 kB / 433.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.074e-05/0.2643, allocations: 82.66 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2644, allocations: 72.52 kB / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.2649, allocations: 345.3 kB / 433.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.265, allocations: 33.12 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.265, allocations: 40 kB / 433.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.2658, allocations: 445.5 kB / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2658, allocations: 0 / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.2658, allocations: 20 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2659, allocations: 12 kB / 434.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.2665, allocations: 315.8 kB / 434.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.269, allocations: 1.668 MB / 436.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.2697, allocations: 318.9 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.2701, allocations: 168.7 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.2701, allocations: 11.94 kB / 436.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.2706, allocations: 258.4 kB / 437 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.2706, allocations: 0 / 437 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002099/0.2727, allocations: 0.7119 MB / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.2728, allocations: 183.9 kB / 437.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.2734, allocations: 0.494 MB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.2735, allocations: 37.7 kB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.2737, allocations: 252.8 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2738, allocations: 130.9 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.274, allocations: 78.12 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2741, allocations: 366.8 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.2744, allocations: 116.8 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.2747, allocations: 213.3 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.2752, allocations: 269.3 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2753, allocations: 0 / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008533/0.2761, allocations: 477.1 kB / 440.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2761, allocations: 11.98 kB / 440.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2761, allocations: 0 / 440.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/0.2767, allocations: 155.2 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.2769, allocations: 51.91 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.2825, allocations: 6.23 MB / 446.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.2829, allocations: 55.86 kB / 446.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2829, allocations: 8 kB / 446.8 MB, free: 6.273 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.0002923/0.2832, allocations: 195.8 kB / 447 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.2833, allocations: 59.61 kB / 447.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.2844, allocations: 498.6 kB / 447.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2844, allocations: 4 kB / 447.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2844, allocations: 4.062 kB / 447.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2844, allocations: 11.98 kB / 447.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.285, allocations: 472.1 kB / 448 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.285, allocations: 0 / 448 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2851, allocations: 31.97 kB / 448.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.2855, allocations: 151.3 kB / 448.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.2856, allocations: 7.984 kB / 448.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005253/0.2908, allocations: 5.957 MB / 454.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2908, allocations: 0 / 454.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2918, allocations: 0.4959 MB / 454.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.292, allocations: 79.56 kB / 454.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2921, allocations: 8 kB / 454.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.2924, allocations: 35.97 kB / 454.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.2925, allocations: 55.89 kB / 454.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.2925, allocations: 15.92 kB / 454.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.293, allocations: 359.1 kB / 455.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.293, allocations: 0 / 455.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.2937, allocations: 179.7 kB / 455.4 MB, free: 13.13 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 (24): * Single equations (assignments): 17 * 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.002746/0.2965, allocations: 1.375 MB / 456.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2977, allocations: 0.7874 MB / 457.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2977, allocations: 0 / 457.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.2985, allocations: 0.6353 MB / 458.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.299, allocations: 113.8 kB / 458.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/0.3052, allocations: 4.241 MB / 462.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.3057, allocations: 0.8594 MB / 463.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.3059, allocations: 56.14 kB / 463.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.3061, allocations: 167.4 kB / 463.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3061, allocations: 0 / 463.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.3682, allocations: 14.9 MB / 478.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.19, allocations: 8.062 kB / 478.5 MB, free: 6.059 MB / 382.1 MB " [Timeout remaining time 647] (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.527017607004382] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.41791706503136 13.44196216 13.174936847 Calling exit ...