Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) 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: translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6714/0.6714, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 8 kB / 493.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 77.16 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006423/0.1952, allocations: 5.313 MB / 0.562 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006354/0.2016, allocations: 4.113 MB / 0.5661 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.2022, allocations: 19.88 kB / 0.5661 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.2027, allocations: 143.1 kB / 0.5662 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.2047, allocations: 0.6062 MB / 0.5668 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006889/0.2054, allocations: 235.6 kB / 0.567 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009977/0.2064, allocations: 0.6743 MB / 0.5677 GB, free: 464 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.207, allocations: 488.4 kB / 0.5681 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.2075, allocations: 338.7 kB / 0.5685 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.2081, allocations: 370.5 kB / 0.5688 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/0.2082, allocations: 32 kB / 0.5689 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.2086, allocations: 131.9 kB / 0.569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.2088, allocations: 195.4 kB / 0.5692 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2089, allocations: 165.3 kB / 0.5693 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.2097, allocations: 0.8028 MB / 0.5701 GB, free: 13.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2097, allocations: 4 kB / 0.5701 GB, free: 13.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2098, allocations: 0 / 0.5701 GB, free: 13.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2098, allocations: 4 kB / 0.5701 GB, free: 13.92 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001732/0.2115, allocations: 0.9715 MB / 0.5711 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2116, allocations: 16.02 kB / 0.5711 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.2147, allocations: 0.6583 MB / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.2156, allocations: 0.5259 MB / 0.5722 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2157, allocations: 45.3 kB / 0.5723 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/0.2158, allocations: 44 kB / 0.5723 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.2177, allocations: 1.022 MB / 0.5733 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2177, allocations: 0 / 0.5733 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.2178, allocations: 31.92 kB / 0.5734 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/0.2179, allocations: 49.28 kB / 0.5734 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.2203, allocations: 1.012 MB / 0.5744 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.2252, allocations: 3.521 MB / 0.5778 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.2267, allocations: 0.5228 MB / 0.5783 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.2268, allocations: 4 kB / 0.5783 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2268, allocations: 38.56 kB / 0.5784 GB, free: 5.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 3.376e-06/0.2268, allocations: 0 / 0.5784 GB, free: 5.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.007601/0.2344, allocations: 2.219 MB / 0.5805 GB, free: 2.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.2345, allocations: 59.41 kB / 0.5806 GB, free: 2.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.2353, allocations: 0.5665 MB / 0.5812 GB, free: 2.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.2354, allocations: 33.7 kB / 0.5812 GB, free: 2.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.2357, allocations: 352.2 kB / 0.5815 GB, free: 1.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.2359, allocations: 149.8 kB / 0.5817 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2359, allocations: 12 kB / 0.5817 GB, free: 1.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2361, allocations: 370.8 kB / 0.582 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.2368, allocations: 276.9 kB / 0.5823 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.2376, allocations: 377.8 kB / 0.5827 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.2383, allocations: 313.6 kB / 0.583 GB, free: 192 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2383, allocations: 0 / 0.583 GB, free: 192 kB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.3659/0.6042, allocations: 0.9695 MB / 0.5839 GB, free: 32.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.6046, allocations: 1.221 MB / 0.5851 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6046, allocations: 3.125 kB / 0.5851 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.6064, allocations: 280.1 kB / 0.5854 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6075, allocations: 126.4 kB / 0.5855 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009339/0.6168, allocations: 8.559 MB / 0.5938 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.6181, allocations: 58.69 kB / 0.5939 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.6182, allocations: 20.66 kB / 0.5939 GB, free: 23.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6182, allocations: 4 kB / 0.5939 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003762/0.622, allocations: 1.078 MB / 0.595 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.622, allocations: 6.406 kB / 0.595 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.6233, allocations: 217.1 kB / 0.5952 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.6244, allocations: 138.1 kB / 0.5953 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007306/0.6317, allocations: 8.227 MB / 0.6034 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.6329, allocations: 53.17 kB / 0.6034 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.633, allocations: 19 kB / 0.6034 GB, free: 14.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006311/0.6337, allocations: 310.1 kB / 0.6037 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.6339, allocations: 73.5 kB / 0.6038 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.6341, allocations: 79.78 kB / 0.6039 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6341, allocations: 8.859 kB / 0.6039 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.6342, allocations: 1.375 kB / 0.6039 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.6342, allocations: 3.391 kB / 0.6039 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.6358, allocations: 0.6462 MB / 0.6045 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6358, allocations: 1.375 kB / 0.6045 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/0.6366, allocations: 96.66 kB / 0.6046 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.6381, allocations: 265.1 kB / 0.6049 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.6382, allocations: 15.59 kB / 0.6049 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007836/0.646, allocations: 8.507 MB / 0.6132 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6461, allocations: 0.6094 kB / 0.6132 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.6496, allocations: 0.9645 MB / 0.6141 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.6501, allocations: 184.5 kB / 0.6143 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.6503, allocations: 10.25 kB / 0.6143 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008407/0.6511, allocations: 51.08 kB / 0.6144 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.6514, allocations: 36.22 kB / 0.6144 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.6515, allocations: 13.88 kB / 0.6144 GB, free: 5.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008947/0.6524, allocations: 401.8 kB / 0.6148 GB, free: 4.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6524, allocations: 0 / 0.6148 GB, free: 4.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002337/0.6547, allocations: 301 kB / 0.6151 GB, free: 4.918 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002081/0.655, allocations: 105.2 kB / 0.6152 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006041/0.661, allocations: 2.412 MB / 0.6175 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.661, allocations: 0.7812 kB / 0.6175 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.6634, allocations: 1.039 MB / 0.6185 GB, free: 18.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.6655, allocations: 201.5 kB / 0.6187 GB, free: 18.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.67, allocations: 1.521 MB / 0.6202 GB, free: 17.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.671, allocations: 0.9966 MB / 0.6212 GB, free: 16.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008872/0.6719, allocations: 153.9 kB / 0.6213 GB, free: 16.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.6721, allocations: 44.72 kB / 0.6214 GB, free: 16.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.014e-06/0.6721, allocations: 0 / 0.6214 GB, free: 16.7 MB / 462.1 MB Notification: Performance of Templates: time 0.03041/0.7025, allocations: 12.47 MB / 0.6336 GB, free: 11.94 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)