Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007767/0.0007767, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007834/0.0007834, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8391/0.8391, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6823/0.6823, allocations: 154.6 MB / 414.5 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.107e-05, allocations: 4.953 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01427/0.01429, allocations: 20.93 MB / 0.6398 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.03018, allocations: 16.66 MB / 0.6561 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.03214, allocations: 150.8 kB / 0.6562 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004357/0.0365, allocations: 4.171 MB / 0.6603 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006633/0.04313, allocations: 3.693 MB / 0.6639 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.04516, allocations: 1.34 MB / 0.6652 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005287/0.05045, allocations: 5.978 MB / 0.671 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.05336, allocations: 2.849 MB / 0.6738 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.05732, allocations: 3.484 MB / 0.6772 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2528/0.3102, allocations: 2.023 MB / 0.6792 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.3113, allocations: 366.8 kB / 0.6795 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.3133, allocations: 0.968 MB / 0.6805 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009236/0.3143, allocations: 1.268 MB / 0.6817 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.3161, allocations: 1.375 MB / 0.6831 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.3198, allocations: 5.236 MB / 0.6882 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3198, allocations: 0 / 0.6882 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3198, allocations: 0.9062 kB / 0.6882 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.659e-05/0.3198, allocations: 2.531 kB / 0.6882 GB, free: 50.83 MB / 0.6355 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.004335/0.3242, allocations: 4.614 MB / 0.6927 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3242, allocations: 8.531 kB / 0.6927 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/0.331, allocations: 3.288 MB / 0.6959 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.333, allocations: 2.137 MB / 0.698 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.3332, allocations: 462.9 kB / 0.6984 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.3335, allocations: 237.1 kB / 0.6987 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/0.3386, allocations: 5.874 MB / 0.7044 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.3386, allocations: 0 / 0.7044 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.3389, allocations: 111.7 kB / 0.7045 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.339, allocations: 174.3 kB / 0.7047 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00681/0.3458, allocations: 5.193 MB / 0.7097 GB, free: 45.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.3559, allocations: 8.758 MB / 0.7183 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/0.361, allocations: 3.256 MB / 0.7215 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.363, allocations: 1.372 MB / 0.7228 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.38e-05/0.3631, allocations: 19.17 kB / 0.7228 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/0.3655, allocations: 2.446 MB / 0.7252 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=163): time 3.286e-06/0.3655, allocations: 0 / 0.7252 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=250): time 0.05829/0.4238, allocations: 27.5 MB / 0.7521 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.4239, allocations: 0.4893 MB / 0.7526 GB, free: 31.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.4254, allocations: 1.997 MB / 0.7545 GB, free: 30.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.4256, allocations: 76.7 kB / 0.7546 GB, free: 30.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/0.4262, allocations: 1.469 MB / 0.756 GB, free: 29.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.4266, allocations: 0.85 MB / 0.7568 GB, free: 28.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/0.427, allocations: 420.1 kB / 0.7572 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.604e-05/0.4271, allocations: 312.2 kB / 0.7575 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.4295, allocations: 2.069 MB / 0.7596 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.4321, allocations: 2.766 MB / 0.7623 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004808/0.4369, allocations: 4.167 MB / 0.7663 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.4369, allocations: 2.812 kB / 0.7663 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008473/0.4454, allocations: 6.586 MB / 0.7728 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.4454, allocations: 149.8 kB / 0.7729 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4454, allocations: 7.938 kB / 0.7729 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004523/0.45, allocations: 2.924 MB / 0.7758 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4511, allocations: 484.5 kB / 0.7762 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.4705, allocations: 18.2 MB / 0.794 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4726, allocations: 323.6 kB / 0.7943 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.4727, allocations: 91.97 kB / 0.7944 GB, free: 10.93 MB / 0.6511 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.001201/0.4739, allocations: 0.7088 MB / 0.7951 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.4742, allocations: 310.1 kB / 0.7954 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4746, allocations: 361.4 kB / 0.7957 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4746, allocations: 24 kB / 0.7958 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-05/0.4746, allocations: 23.81 kB / 0.7958 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4746, allocations: 11.95 kB / 0.7958 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.4774, allocations: 2.728 MB / 0.7985 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4774, allocations: 0 / 0.7985 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.4785, allocations: 418 kB / 0.7989 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/0.4831, allocations: 2.874 MB / 0.8017 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.4832, allocations: 51.97 kB / 0.8017 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.5039, allocations: 17.96 MB / 0.8192 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5039, allocations: 3.203 kB / 0.8192 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009793/0.5137, allocations: 6.082 MB / 0.8252 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.5152, allocations: 0.6071 MB / 0.8258 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.5155, allocations: 51.92 kB / 0.8258 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.5172, allocations: 319.6 kB / 0.8261 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008412/0.518, allocations: 362.5 kB / 0.8265 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.5182, allocations: 76.83 kB / 0.8266 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001478/0.5196, allocations: 1.309 MB / 0.8278 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5196, allocations: 0 / 0.8278 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002936/0.5226, allocations: 1.043 MB / 0.8288 GB, free: 7.555 MB / 0.6823 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.0003046/0.5229, allocations: 161.8 kB / 0.829 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.012/0.5349, allocations: 6.451 MB / 0.8353 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5349, allocations: 0 / 0.8353 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008452/0.5433, allocations: 3.911 MB / 0.8391 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.5463, allocations: 1.029 MB / 0.8401 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/0.5558, allocations: 6.957 MB / 0.8469 GB, free: 4.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.5571, allocations: 1.679 MB / 0.8486 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008772/0.558, allocations: 192.4 kB / 0.8487 GB, free: 3.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/0.558, allocations: 4 kB / 0.8487 GB, free: 3.066 MB / 0.698 GB Notification: Performance of Templates: time 0.07069/0.6287, allocations: 79.58 MB / 0.9265 GB, free: 3.984 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.167936072684824] Failed to read output from testmodel.py, exit status != 0: 0.6342578688636422 0.6417876330000001 0.320323599 Calling exit ...