Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006288/0.006288, allocations: 114.1 kB / 21.97 MB, free: 5.227 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.001485/0.001485, allocations: 214.5 kB / 25.28 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 51.92 kB / 348 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2993, allocations: 49.17 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005701/0.305, allocations: 3.949 MB / 401.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.3076, allocations: 1.386 MB / 402.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.308, allocations: 11.25 kB / 402.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008654/0.3089, allocations: 259.7 kB / 402.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007648/0.3097, allocations: 257.4 kB / 403 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.3104, allocations: 272 kB / 403.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008915/0.3113, allocations: 0.7144 MB / 404 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.3116, allocations: 132.3 kB / 404.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.312, allocations: 282 kB / 404.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.3123, allocations: 307.8 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.3124, allocations: 50.34 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.3126, allocations: 106.3 kB / 404.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3128, allocations: 143.3 kB / 405 MB, free: 4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.313, allocations: 295.2 kB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008358/0.3138, allocations: 0.7072 MB / 406 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3138, allocations: 5.219 kB / 406 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3138, allocations: 0 / 406 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3138, allocations: 0 / 406 MB, free: 3.527 MB / 318.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.001528/0.3154, allocations: 0.8858 MB / 406.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3154, allocations: 14.55 kB / 406.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.525e-05/0.3154, allocations: 10.86 kB / 406.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/0.3155, allocations: 77.86 kB / 407 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.3157, allocations: 69.83 kB / 407 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.3162, allocations: 355.8 kB / 407.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.3162, allocations: 37.97 kB / 407.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3162, allocations: 37.38 kB / 407.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.317, allocations: 437.1 kB / 407.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.317, allocations: 1.406 kB / 407.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.317, allocations: 20.16 kB / 407.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.317, allocations: 9.625 kB / 407.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.3176, allocations: 314.8 kB / 408.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.3199, allocations: 1.655 MB / 409.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.3205, allocations: 333.7 kB / 410.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.3208, allocations: 159.2 kB / 410.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.3208, allocations: 4.703 kB / 410.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004298/0.3212, allocations: 259.6 kB / 410.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.3212, allocations: 0 / 410.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002034/0.3233, allocations: 0.7072 MB / 411.3 MB, free: 356 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3233, allocations: 189.5 kB / 411.5 MB, free: 128 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.324, allocations: 0.4909 MB / 412 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.3241, allocations: 32.23 kB / 412 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.3243, allocations: 265.1 kB / 412.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.3244, allocations: 135.4 kB / 412.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.3246, allocations: 76.38 kB / 412.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3248, allocations: 359.5 kB / 412.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.3251, allocations: 118.2 kB / 413 MB, free: 15.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.3254, allocations: 217.1 kB / 413.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.3259, allocations: 267.6 kB / 413.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3259, allocations: 1.125 kB / 413.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009224/0.3269, allocations: 474 kB / 413.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3269, allocations: 9.422 kB / 413.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3269, allocations: 1.094 kB / 413.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.3274, allocations: 159.9 kB / 414.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3277, allocations: 50.56 kB / 414.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/0.3339, allocations: 6.243 MB / 420.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.3346, allocations: 49.77 kB / 420.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.3346, allocations: 14.59 kB / 420.4 MB, free: 8.164 MB / 334.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.000394/0.335, allocations: 194.4 kB / 420.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3351, allocations: 57.55 kB / 420.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.3363, allocations: 493.5 kB / 421.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3363, allocations: 3.781 kB / 421.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3363, allocations: 5.062 kB / 421.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3363, allocations: 3.984 kB / 421.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.3371, allocations: 474.1 kB / 421.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3371, allocations: 0 / 421.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3373, allocations: 28.34 kB / 421.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.3378, allocations: 154.6 kB / 421.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3378, allocations: 13.98 kB / 421.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.344, allocations: 5.949 MB / 427.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.344, allocations: 5.469 kB / 427.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3454, allocations: 0.4929 MB / 428.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.3457, allocations: 82.72 kB / 428.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.3457, allocations: 11.69 kB / 428.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.346, allocations: 33.28 kB / 428.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.3462, allocations: 52.67 kB / 428.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.3462, allocations: 16.69 kB / 428.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005314/0.3468, allocations: 359.9 kB / 428.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3468, allocations: 0 / 428.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008959/0.3477, allocations: 174.9 kB / 429 MB, free: 0.6211 MB / 334.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.003297/0.351, allocations: 1.367 MB / 430.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3527, allocations: 0.7925 MB / 431.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.3527, allocations: 0 / 431.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009564/0.3536, allocations: 0.6313 MB / 431.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.3545, allocations: 115 kB / 431.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/0.3623, allocations: 4.257 MB / 436.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.3629, allocations: 0.8672 MB / 437 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.3633, allocations: 56.14 kB / 437.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.3635, allocations: 163.4 kB / 437.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3635, allocations: 4 kB / 437.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.4236, allocations: 14.89 MB / 452.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.96, allocations: 12 kB / 452.1 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.516762597952038] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 14.185326168022584 14.200458147 13.883046419 Calling exit ...