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.001276/0.001276, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.001348/0.001348, allocations: 194.5 kB / 21.43 MB, free: 1.66 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.468/1.468, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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.00156/0.00156, allocations: 47.92 kB / 366.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 52.13 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006061/0.1153, allocations: 3.995 MB / 422.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.1183, allocations: 1.43 MB / 423.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.1187, allocations: 11.94 kB / 423.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009648/0.1197, allocations: 246.8 kB / 424.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.1206, allocations: 258.3 kB / 424.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.1215, allocations: 290.9 kB / 424.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1226, allocations: 0.7162 MB / 425.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.123, allocations: 120.9 kB / 425.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.1235, allocations: 287 kB / 425.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.124, allocations: 306.7 kB / 426.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.1241, allocations: 52 kB / 426.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.1244, allocations: 95.92 kB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.1246, allocations: 151.5 kB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.125, allocations: 298.4 kB / 426.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.1259, allocations: 0.7002 MB / 427.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1259, allocations: 4 kB / 427.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.126, allocations: 0 / 427.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.126, allocations: 0 / 427.4 MB, free: 3.645 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.002239/0.1282, allocations: 0.9564 MB / 428.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1283, allocations: 11.97 kB / 428.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.645e-05/0.1283, allocations: 9.188 kB / 428.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1284, allocations: 86.72 kB / 428.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.1285, allocations: 68.52 kB / 428.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.1292, allocations: 419.1 kB / 428.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.1293, allocations: 33.12 kB / 429 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.1293, allocations: 40 kB / 429 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.1302, allocations: 445.5 kB / 429.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1302, allocations: 0 / 429.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.1303, allocations: 16 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1303, allocations: 12 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007139/0.131, allocations: 307.8 kB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.1339, allocations: 1.707 MB / 431.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.1346, allocations: 335.5 kB / 431.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.135, allocations: 157.4 kB / 432 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.135, allocations: 4 kB / 432 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/0.1355, allocations: 258.5 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.1355, allocations: 0 / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002348/0.1378, allocations: 1.014 MB / 433.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.138, allocations: 187.9 kB / 433.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.1386, allocations: 0.4979 MB / 433.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.1387, allocations: 33.7 kB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.1389, allocations: 252.8 kB / 434.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1391, allocations: 138.8 kB / 434.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1392, allocations: 74.14 kB / 434.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1394, allocations: 358.8 kB / 434.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.1397, allocations: 120.8 kB / 434.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.14, allocations: 209.3 kB / 435.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.1406, allocations: 277.3 kB / 435.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1406, allocations: 0 / 435.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009023/0.1415, allocations: 473 kB / 435.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1415, allocations: 12.09 kB / 435.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1415, allocations: 0 / 435.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.1421, allocations: 163.2 kB / 436 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1423, allocations: 47.91 kB / 436 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/0.1484, allocations: 6.651 MB / 442.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.1487, allocations: 63.84 kB / 442.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1488, allocations: 12 kB / 442.8 MB, free: 3.223 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.0002508/0.149, allocations: 184 kB / 442.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.1491, allocations: 59.61 kB / 443 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.1492, allocations: 60.75 kB / 443 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1492, allocations: 4 kB / 443.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1492, allocations: 4 kB / 443.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.1492, allocations: 3.984 kB / 443.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.1498, allocations: 493.1 kB / 443.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1498, allocations: 0 / 443.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.15, allocations: 35.91 kB / 443.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004341/0.1504, allocations: 151.3 kB / 443.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1504, allocations: 7.984 kB / 443.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.208/0.3584, allocations: 6.356 MB / 450.1 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3584, allocations: 0 / 450.1 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.3594, allocations: 0.4982 MB / 450.6 MB, free: 25.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3595, allocations: 160.9 kB / 450.7 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.3596, allocations: 9.203 kB / 450.8 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.3599, allocations: 33.48 kB / 450.8 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.36, allocations: 58.72 kB / 450.8 MB, free: 25.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.36, allocations: 12.5 kB / 450.9 MB, free: 25.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003431/0.3604, allocations: 359.7 kB / 451.2 MB, free: 25.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3604, allocations: 0 / 451.2 MB, free: 25.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007179/0.3611, allocations: 171.7 kB / 451.4 MB, free: 25.67 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.002362/0.3634, allocations: 1.37 MB / 452.7 MB, free: 24.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009571/0.3644, allocations: 0.7829 MB / 453.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3644, allocations: 1.203 kB / 453.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.3649, allocations: 0.64 MB / 454.2 MB, free: 24.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.3654, allocations: 121.7 kB / 454.3 MB, free: 24.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.3711, allocations: 4.244 MB / 458.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3714, allocations: 0.8594 MB / 459.4 MB, free: 21.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.3716, allocations: 54.84 kB / 459.4 MB, free: 21.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.3719, allocations: 172.2 kB / 459.6 MB, free: 21.7 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3719, allocations: 0 / 459.6 MB, free: 21.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/0.4167, allocations: 14.55 MB / 474.2 MB, free: 17.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.53, allocations: 5.344 kB / 474.2 MB, free: 17.2 MB / 366.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: 14.998778203967959] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 12.737188033002894 12.74759762 12.619297101999999 Calling exit ...