Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.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.00104/0.00104, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0007889/0.0007889, allocations: 215.7 kB / 22.25 MB, free: 3.695 MB / 13.93 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 0.9789/0.9789, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8182/0.8182, allocations: 203.8 MB / 0.5042 GB, free: 10.78 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) 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(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.0008712/0.0008712, allocations: 65.66 kB / 0.7183 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5439, allocations: 102 MB / 0.8179 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02214/0.566, allocations: 23.49 MB / 0.8408 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.5889, allocations: 18.18 MB / 0.8586 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003955/0.5928, allocations: 150.9 kB / 0.8587 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0068/0.5996, allocations: 4.351 MB / 0.863 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.6094, allocations: 3.593 MB / 0.8665 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.6128, allocations: 1.335 MB / 0.8678 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009063/0.6219, allocations: 5.8 MB / 0.8735 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004472/0.6263, allocations: 2.876 MB / 0.8763 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.631, allocations: 2.53 MB / 0.8787 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0053/0.6363, allocations: 2.512 MB / 0.8812 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.6376, allocations: 368.7 kB / 0.8815 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.6405, allocations: 1.056 MB / 0.8826 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.6418, allocations: 1.222 MB / 0.8838 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.6452, allocations: 2.006 MB / 0.8857 GB, free: 392 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.652, allocations: 5.203 MB / 0.8908 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.652, allocations: 3.938 kB / 0.8908 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/0.652, allocations: 0 / 0.8908 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001704/0.6522, allocations: 0 / 0.8908 GB, free: 11.16 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.007777/0.6599, allocations: 4.658 MB / 0.8954 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.66, allocations: 12.03 kB / 0.8954 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004046/0.6604, allocations: 366.3 kB / 0.8957 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008434/0.6688, allocations: 3.283 MB / 0.8989 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.6733, allocations: 2.128 MB / 0.901 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.6736, allocations: 470 kB / 0.9015 GB, free: 8 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006293/0.6742, allocations: 232 kB / 0.9017 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/0.682, allocations: 4.818 MB / 0.9064 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.682, allocations: 0 / 0.9064 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.6822, allocations: 112 kB / 0.9065 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.6824, allocations: 168.8 kB / 0.9066 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008005/0.6904, allocations: 5.198 MB / 0.9117 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.7073, allocations: 14.36 MB / 0.9258 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005415/0.7128, allocations: 3.254 MB / 0.9289 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.7152, allocations: 1.377 MB / 0.9303 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7153, allocations: 33.27 kB / 0.9303 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002518/0.7178, allocations: 1.79 MB / 0.9321 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=163): time 4.739e-06/0.7178, allocations: 0 / 0.9321 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=250): time 0.0632/0.781, allocations: 27.54 MB / 0.959 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.7812, allocations: 0.4889 MB / 0.9594 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.7839, allocations: 2.3 MB / 0.9617 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003978/0.7843, allocations: 73.7 kB / 0.9617 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009537/0.7852, allocations: 1.456 MB / 0.9632 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007031/0.7859, allocations: 0.8637 MB / 0.964 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/0.7865, allocations: 416.5 kB / 0.9644 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.7865, allocations: 305.1 kB / 0.9647 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.7898, allocations: 1.933 MB / 0.9666 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.793, allocations: 2.227 MB / 0.9688 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006282/0.7993, allocations: 4.161 MB / 0.9728 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.7993, allocations: 0 / 0.9728 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01099/0.8103, allocations: 6.482 MB / 0.9792 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/0.8104, allocations: 152.5 kB / 0.9793 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.8104, allocations: 4 kB / 0.9793 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005646/0.816, allocations: 2.925 MB / 0.9822 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.8176, allocations: 483.2 kB / 0.9826 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/0.8427, allocations: 18.65 MB / 1.001 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.8453, allocations: 331.6 kB / 1.001 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/0.8457, allocations: 87.97 kB / 1.001 GB, free: 7.637 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001313/0.847, allocations: 0.7062 MB / 1.002 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005718/0.8476, allocations: 345.9 kB / 1.002 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.8481, allocations: 388.1 kB / 1.003 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.8481, allocations: 27.98 kB / 1.003 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-05/0.8481, allocations: 8 kB / 1.003 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.8481, allocations: 11.95 kB / 1.003 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.8519, allocations: 3.607 MB / 1.006 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.8519, allocations: 0 / 1.006 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.8531, allocations: 419.3 kB / 1.007 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00581/0.8589, allocations: 2.859 MB / 1.009 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003603/0.8593, allocations: 55.97 kB / 1.009 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02366/0.883, allocations: 18.43 MB / 1.027 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.883, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.8938, allocations: 6.112 MB / 1.033 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.8955, allocations: 0.6381 MB / 1.034 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/0.8961, allocations: 55.88 kB / 1.034 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.898, allocations: 315.6 kB / 1.034 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/0.8991, allocations: 362.5 kB / 1.035 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.8992, allocations: 67.97 kB / 1.035 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002242/0.9015, allocations: 1.536 MB / 1.036 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9015, allocations: 0 / 1.036 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00298/0.9045, allocations: 1.043 MB / 1.037 GB, free: 2.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/0.9148, allocations: 6.741 MB / 1.044 GB, free: 11.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01265/0.9275, allocations: 6.317 MB / 1.05 GB, free: 5.145 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9275, allocations: 4.125 kB / 1.05 GB, free: 5.141 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00899/0.9365, allocations: 3.915 MB / 1.054 GB, free: 1.199 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.9402, allocations: 1.139 MB / 1.055 GB, free: 120 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05316/0.9934, allocations: 31.83 MB / 1.086 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.9952, allocations: 2.234 MB / 1.088 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001798/0.9969, allocations: 0.5019 MB / 1.089 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.9984, allocations: 1.339 MB / 1.09 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/0.9984, allocations: 0 / 1.09 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5256/1.524, allocations: 105.8 MB / 1.193 GB, free: 275.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.82, allocations: 12.92 kB / 1.193 GB, free: 275.9 MB / 0.9167 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.911466783145443] Failed to read output from testmodel.py, exit status != 0: 13.960833580000326 13.973674363 13.318997009 Calling exit ...