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.0007377/0.0007377, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007461/0.0007461, 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.8446/0.8446, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.677/0.677, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.434e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01354/0.01356, allocations: 20.92 MB / 0.6397 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.02793, allocations: 16.66 MB / 0.656 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.02923, allocations: 150.8 kB / 0.6561 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.03317, allocations: 4.164 MB / 0.6602 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.0381, allocations: 3.706 MB / 0.6638 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.03974, allocations: 1.324 MB / 0.6651 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003566/0.04331, allocations: 5.978 MB / 0.671 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.04537, allocations: 2.841 MB / 0.6737 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.04775, allocations: 3.484 MB / 0.6771 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2375/0.2852, allocations: 2.024 MB / 0.6791 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009039/0.2861, allocations: 367.5 kB / 0.6795 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.2876, allocations: 0.9692 MB / 0.6804 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005815/0.2882, allocations: 1.271 MB / 0.6816 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.2892, allocations: 1.376 MB / 0.683 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.2919, allocations: 5.235 MB / 0.6881 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.292, allocations: 0 / 0.6881 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.292, allocations: 0.625 kB / 0.6881 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.292, allocations: 3.562 kB / 0.6881 GB, free: 50.76 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.004088/0.2961, allocations: 4.616 MB / 0.6926 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2961, allocations: 12.38 kB / 0.6926 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/0.3027, allocations: 3.283 MB / 0.6958 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.3047, allocations: 2.135 MB / 0.6979 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.3049, allocations: 470.6 kB / 0.6984 GB, free: 47.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.3052, allocations: 234.2 kB / 0.6986 GB, free: 47.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004943/0.3101, allocations: 5.881 MB / 0.7043 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.3101, allocations: 0 / 0.7043 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.3104, allocations: 108.2 kB / 0.7044 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.691e-05/0.3105, allocations: 171.5 kB / 0.7046 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/0.3169, allocations: 5.189 MB / 0.7097 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009364/0.3263, allocations: 8.759 MB / 0.7182 GB, free: 42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004956/0.3312, allocations: 3.258 MB / 0.7214 GB, free: 41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.3332, allocations: 1.368 MB / 0.7227 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-05/0.3333, allocations: 22.59 kB / 0.7228 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002344/0.3356, allocations: 2.443 MB / 0.7251 GB, free: 39.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=163): time 3.336e-06/0.3356, allocations: 4 kB / 0.7252 GB, free: 39.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=250): time 0.05659/0.3922, allocations: 27.51 MB / 0.752 GB, free: 32.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.3923, allocations: 0.4904 MB / 0.7525 GB, free: 31.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.3938, allocations: 1.996 MB / 0.7544 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.3939, allocations: 76.58 kB / 0.7545 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006152/0.3946, allocations: 1.472 MB / 0.756 GB, free: 29.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.3949, allocations: 0.8443 MB / 0.7568 GB, free: 28.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.3954, allocations: 422.2 kB / 0.7572 GB, free: 28.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.346e-05/0.3954, allocations: 308.2 kB / 0.7575 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.3978, allocations: 2.065 MB / 0.7595 GB, free: 27.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.4003, allocations: 2.775 MB / 0.7622 GB, free: 25.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.4051, allocations: 4.167 MB / 0.7663 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4051, allocations: 0 / 0.7663 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008281/0.4134, allocations: 6.581 MB / 0.7727 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.4134, allocations: 152.5 kB / 0.7728 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4134, allocations: 11.81 kB / 0.7729 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/0.4178, allocations: 2.923 MB / 0.7757 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4189, allocations: 488.3 kB / 0.7762 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/0.4374, allocations: 18.21 MB / 0.794 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4391, allocations: 319.6 kB / 0.7943 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.4393, allocations: 95.59 kB / 0.7944 GB, free: 10.98 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.001102/0.4404, allocations: 0.709 MB / 0.795 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.4407, allocations: 314.1 kB / 0.7953 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.441, allocations: 357.2 kB / 0.7957 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.441, allocations: 27.98 kB / 0.7957 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-05/0.4411, allocations: 15.94 kB / 0.7957 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.4411, allocations: 11.95 kB / 0.7957 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.4435, allocations: 2.726 MB / 0.7984 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4435, allocations: 0 / 0.7984 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.4445, allocations: 417.7 kB / 0.7988 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004592/0.4491, allocations: 2.863 MB / 0.8016 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.4492, allocations: 47.97 kB / 0.8016 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/0.4694, allocations: 17.97 MB / 0.8192 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4694, allocations: 0 / 0.8192 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008853/0.4782, allocations: 6.08 MB / 0.8251 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008018/0.479, allocations: 0.6071 MB / 0.8257 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4793, allocations: 52.81 kB / 0.8258 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.4806, allocations: 315.6 kB / 0.8261 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006004/0.4812, allocations: 366.5 kB / 0.8264 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.4813, allocations: 71.97 kB / 0.8265 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001087/0.4824, allocations: 1.309 MB / 0.8278 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4824, allocations: 4 kB / 0.8278 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001551/0.4839, allocations: 1.039 MB / 0.8288 GB, free: 7.602 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.0002466/0.4842, allocations: 166.2 kB / 0.8289 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.495, allocations: 6.449 MB / 0.8352 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.495, allocations: 8.25 kB / 0.8352 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007654/0.5026, allocations: 3.915 MB / 0.8391 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.5046, allocations: 1.033 MB / 0.8401 GB, free: 12.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00766/0.5123, allocations: 6.96 MB / 0.8469 GB, free: 5.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.5134, allocations: 1.683 MB / 0.8485 GB, free: 3.301 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.5139, allocations: 192.4 kB / 0.8487 GB, free: 3.109 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.5139, allocations: 0 / 0.8487 GB, free: 3.109 MB / 0.698 GB Notification: Performance of Templates: time 0.05099/0.5649, allocations: 79.59 MB / 0.9264 GB, free: 4.02 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.545599346980453] Failed to read output from testmodel.py, exit status != 0: 0.5702878730371594 0.5779329480000001 0.28444063 Calling exit ...