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.001309/0.001309, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001456/0.001456, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.367/1.367, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001516/0.001516, allocations: 47.92 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2397, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006183/0.2458, allocations: 4.029 MB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.2491, allocations: 1.652 MB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.2495, allocations: 11.94 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.2503, allocations: 250.8 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.251, allocations: 310.1 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.2516, allocations: 271.3 kB / 438.4 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.2524, allocations: 0.7086 MB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.2527, allocations: 129.4 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.2531, allocations: 294.9 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.2535, allocations: 314.7 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.2536, allocations: 52 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.2539, allocations: 104 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.254, allocations: 151.4 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.2543, allocations: 302.5 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.2552, allocations: 0.7235 MB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2552, allocations: 0 / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2552, allocations: 0 / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2552, allocations: 0 / 441.2 MB, free: 13.59 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.001767/0.257, allocations: 0.8966 MB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.257, allocations: 8.031 kB / 442.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.354e-05/0.2571, allocations: 9.188 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.655e-05/0.2572, allocations: 82.72 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.2574, allocations: 84.45 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.2579, allocations: 365.2 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.258, allocations: 37.12 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.258, allocations: 36 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.2588, allocations: 437.6 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2588, allocations: 3.938 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.2588, allocations: 19.98 kB / 443.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2588, allocations: 12 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.2595, allocations: 315.8 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.262, allocations: 1.653 MB / 445.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.2626, allocations: 327.6 kB / 445.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.2629, allocations: 160.8 kB / 445.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.263, allocations: 4 kB / 445.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.2634, allocations: 262.3 kB / 445.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.2634, allocations: 4 kB / 445.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002067/0.2655, allocations: 0.708 MB / 446.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.2656, allocations: 191.9 kB / 446.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.2662, allocations: 0.498 MB / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.2663, allocations: 41.69 kB / 447.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2665, allocations: 256.7 kB / 447.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.2666, allocations: 131 kB / 447.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.2667, allocations: 78.12 kB / 447.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2669, allocations: 358.8 kB / 448.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.2671, allocations: 116.8 kB / 448.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.2675, allocations: 217.3 kB / 448.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.268, allocations: 277.1 kB / 448.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.268, allocations: 0 / 448.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000866/0.2688, allocations: 477 kB / 449.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2689, allocations: 8 kB / 449.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.2689, allocations: 4 kB / 449.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.2694, allocations: 163.2 kB / 449.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.2696, allocations: 55.94 kB / 449.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.2752, allocations: 6.233 MB / 455.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.2757, allocations: 55.78 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2757, allocations: 12 kB / 455.7 MB, free: 14.24 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.0003465/0.276, allocations: 193.1 kB / 455.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2761, allocations: 59.61 kB / 455.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2772, allocations: 0.4935 MB / 456.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2772, allocations: 4 kB / 456.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2772, allocations: 4 kB / 456.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2773, allocations: 4 kB / 456.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.2778, allocations: 476 kB / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2778, allocations: 0 / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.278, allocations: 27.97 kB / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.2784, allocations: 159.3 kB / 457.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.2784, allocations: 11.98 kB / 457.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.2837, allocations: 5.943 MB / 463 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2837, allocations: 0 / 463 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2848, allocations: 0.4996 MB / 463.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.285, allocations: 83.5 kB / 463.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.2851, allocations: 12 kB / 463.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.2854, allocations: 31.97 kB / 463.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.2855, allocations: 55.91 kB / 463.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.2856, allocations: 15.92 kB / 463.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004651/0.286, allocations: 367.1 kB / 464.1 MB, free: 5.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.286, allocations: 0 / 464.1 MB, free: 5.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007919/0.2868, allocations: 175.7 kB / 464.3 MB, free: 5.098 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.002717/0.2895, allocations: 1.381 MB / 465.6 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.2908, allocations: 0.7836 MB / 466.4 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2908, allocations: 0 / 466.4 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007847/0.2916, allocations: 0.6274 MB / 467.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.2921, allocations: 123.5 kB / 467.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00649/0.2986, allocations: 4.302 MB / 471.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.2992, allocations: 0.8594 MB / 472.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.2994, allocations: 48.16 kB / 472.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.2996, allocations: 171.4 kB / 472.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2996, allocations: 4 kB / 472.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.3493, allocations: 15.02 MB / 487.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13, allocations: 15.11 kB / 487.6 MB, free: 13.83 MB / 398.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.339476541033946] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.23177210695576 13.250961165 12.992555265 Calling exit ...