Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001198/0.001198, allocations: 113 kB / 18.49 MB, free: 4.539 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.00145/0.00145, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+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.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006288/0.1114, allocations: 4.011 MB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2102/0.3216, allocations: 1.615 MB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.3221, allocations: 11.59 kB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.3229, allocations: 253.4 kB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006781/0.3236, allocations: 294.9 kB / 433.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.3242, allocations: 270.7 kB / 433.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006412/0.3249, allocations: 0.7187 MB / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.3251, allocations: 121.7 kB / 434.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.3254, allocations: 290.6 kB / 434.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.3258, allocations: 313.8 kB / 434.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.3259, allocations: 50.53 kB / 434.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.3261, allocations: 102.4 kB / 435 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3262, allocations: 148.8 kB / 435.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3264, allocations: 305.3 kB / 435.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.3273, allocations: 0.7237 MB / 436.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3273, allocations: 1.344 kB / 436.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3273, allocations: 0 / 436.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3274, allocations: 0 / 436.2 MB, free: 6.98 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001771/0.3291, allocations: 0.9699 MB / 437.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3292, allocations: 10.06 kB / 437.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.807e-05/0.3292, allocations: 13.75 kB / 437.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.961e-05/0.3293, allocations: 81.48 kB / 437.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.3297, allocations: 81.7 kB / 437.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.3303, allocations: 423 kB / 437.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.3303, allocations: 31.81 kB / 437.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.3304, allocations: 44.7 kB / 437.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.3313, allocations: 442.4 kB / 438.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3313, allocations: 1.094 kB / 438.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.3313, allocations: 17.91 kB / 438.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3313, allocations: 10.28 kB / 438.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.332, allocations: 314.7 kB / 438.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.3342, allocations: 1.708 MB / 440.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.3349, allocations: 319.2 kB / 440.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.3352, allocations: 166.4 kB / 440.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.3352, allocations: 4.094 kB / 440.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.3356, allocations: 255.5 kB / 441.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/0.3357, allocations: 0.5625 kB / 441.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00213/0.3378, allocations: 1.012 MB / 442.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.3378, allocations: 194.5 kB / 442.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.3385, allocations: 0.5036 MB / 442.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3385, allocations: 33.02 kB / 442.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3387, allocations: 262.3 kB / 443.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.3388, allocations: 135 kB / 443.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.3389, allocations: 83.55 kB / 443.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.339, allocations: 358.7 kB / 443.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.3393, allocations: 123.9 kB / 443.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.3396, allocations: 209 kB / 443.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.34, allocations: 273.6 kB / 444.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.34, allocations: 1.062 kB / 444.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007823/0.3408, allocations: 474 kB / 444.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3408, allocations: 6.578 kB / 444.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3408, allocations: 1.344 kB / 444.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.3413, allocations: 162.8 kB / 444.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.3416, allocations: 48.23 kB / 444.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.3468, allocations: 6.653 MB / 451.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.3473, allocations: 53.73 kB / 451.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.3473, allocations: 9.219 kB / 451.6 MB, free: 11.21 MB / 366.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.0003131/0.3476, allocations: 191.7 kB / 451.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.3477, allocations: 65.86 kB / 451.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3478, allocations: 62.62 kB / 451.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.3478, allocations: 3.969 kB / 451.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3478, allocations: 0.875 kB / 451.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3478, allocations: 3.562 kB / 451.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.3485, allocations: 495 kB / 452.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3485, allocations: 0 / 452.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.3486, allocations: 26.19 kB / 452.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.3491, allocations: 172.1 kB / 452.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3491, allocations: 7.094 kB / 452.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/0.3546, allocations: 6.366 MB / 459 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3546, allocations: 3.938 kB / 459 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3557, allocations: 0.4928 MB / 459.5 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.3559, allocations: 162.7 kB / 459.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.356, allocations: 8.234 kB / 459.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.3562, allocations: 31.73 kB / 459.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.3564, allocations: 52.86 kB / 459.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.3564, allocations: 17.38 kB / 459.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005031/0.3569, allocations: 368.9 kB / 460.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 0 / 460.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008378/0.3578, allocations: 168.6 kB / 460.3 MB, free: 3.742 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.002764/0.3605, allocations: 1.379 MB / 461.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3619, allocations: 0.7906 MB / 462.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3619, allocations: 0 / 462.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.3627, allocations: 0.6411 MB / 463.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.3634, allocations: 110.2 kB / 463.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.3702, allocations: 4.282 MB / 467.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.3708, allocations: 0.8636 MB / 468.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.3711, allocations: 54.41 kB / 468.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.3713, allocations: 174.5 kB / 468.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3713, allocations: 5.406 kB / 468.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.4213, allocations: 14.66 MB / 483.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.68, allocations: 19.27 kB / 483.2 MB, free: 6.203 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.094357251015026] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 12.897049414983485 12.914977815 12.584163556 Calling exit ...