Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008227/0.000823, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008835/0.0008835, allocations: 174 kB / 16.58 MB, free: 6.41 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.468/1.468, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7055/0.7055, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003275, allocations: 8 kB / 495.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.52 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.0035/0.1406, allocations: 2.646 MB / 0.5619 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1427, allocations: 1.236 MB / 0.5631 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1429, allocations: 4 kB / 0.5631 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1431, allocations: 39.64 kB / 0.5631 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.1435, allocations: 111.5 kB / 0.5633 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1439, allocations: 99.75 kB / 0.5634 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.1443, allocations: 342.9 kB / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.1447, allocations: 211.9 kB / 0.5639 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1449, allocations: 95.62 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.1453, allocations: 131.5 kB / 0.5641 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1453, allocations: 12 kB / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1456, allocations: 91.81 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.1457, allocations: 67.8 kB / 0.5643 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.1457, allocations: 61.58 kB / 0.5643 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1461, allocations: 251.6 kB / 0.5646 GB, free: 3.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1461, allocations: 0 / 0.5646 GB, free: 3.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1461, allocations: 0 / 0.5646 GB, free: 3.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1461, allocations: 3.938 kB / 0.5646 GB, free: 3.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008396/0.147, allocations: 490.9 kB / 0.565 GB, free: 3.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.147, allocations: 12.03 kB / 0.565 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/0.1476, allocations: 75.73 kB / 0.5651 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1479, allocations: 237.1 kB / 0.5653 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1479, allocations: 12.38 kB / 0.5654 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.148, allocations: 19.94 kB / 0.5654 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.1485, allocations: 303 kB / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1485, allocations: 0 / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.1485, allocations: 11.98 kB / 0.5657 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.1486, allocations: 16.31 kB / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.1489, allocations: 200.9 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1507, allocations: 1.464 MB / 0.5673 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.151, allocations: 179.7 kB / 0.5675 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.151, allocations: 32.84 kB / 0.5675 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1511, allocations: 3.953 kB / 0.5675 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1511, allocations: 38.62 kB / 0.5676 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1511, allocations: 3.938 kB / 0.5676 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005014/0.1516, allocations: 231.5 kB / 0.5678 GB, free: 356 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1517, allocations: 51.41 kB / 0.5678 GB, free: 292 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1519, allocations: 194.4 kB / 0.568 GB, free: 88 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.152, allocations: 25.7 kB / 0.568 GB, free: 56 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1521, allocations: 167.6 kB / 0.5682 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1522, allocations: 31.58 kB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.1522, allocations: 8 kB / 0.5682 GB, free: 15.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1524, allocations: 322.8 kB / 0.5685 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.1525, allocations: 39.92 kB / 0.5686 GB, free: 15.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1526, allocations: 96.56 kB / 0.5687 GB, free: 15.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1527, allocations: 55.92 kB / 0.5687 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1527, allocations: 3.938 kB / 0.5687 GB, free: 15.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003612/0.1531, allocations: 194.3 kB / 0.5689 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1531, allocations: 6.031 kB / 0.5689 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.1532, allocations: 4 kB / 0.5689 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.1534, allocations: 24.84 kB / 0.5689 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1535, allocations: 27.98 kB / 0.569 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.1549, allocations: 1.312 MB / 0.5703 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1551, allocations: 15.84 kB / 0.5703 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1551, allocations: 11.98 kB / 0.5703 GB, free: 13.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1553, allocations: 153.8 kB / 0.5704 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1553, allocations: 15.81 kB / 0.5704 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.1554, allocations: 17.41 kB / 0.5705 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1554, allocations: 0 / 0.5705 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1554, allocations: 3.984 kB / 0.5705 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1554, allocations: 0 / 0.5705 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.156, allocations: 447.2 kB / 0.5709 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.156, allocations: 0 / 0.5709 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.1561, allocations: 11.98 kB / 0.5709 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-05/0.1562, allocations: 24.84 kB / 0.5709 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1562, allocations: 0 / 0.5709 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/0.1572, allocations: 1.319 MB / 0.5722 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1572, allocations: 0 / 0.5722 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1575, allocations: 212.2 kB / 0.5724 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.1575, allocations: 89 kB / 0.5725 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1576, allocations: 11.95 kB / 0.5725 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1577, allocations: 8.094 kB / 0.5725 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.1577, allocations: 3.984 kB / 0.5725 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1577, allocations: 4 kB / 0.5725 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1579, allocations: 142.5 kB / 0.5727 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.415e-06/0.1579, allocations: 0 / 0.5727 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.1583, allocations: 55.78 kB / 0.5727 GB, free: 10.84 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 (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.1584, allocations: 99.23 kB / 0.5728 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.1588, allocations: 222.4 kB / 0.573 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1588, allocations: 288 / 0.573 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.159, allocations: 146.6 kB / 0.5732 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1594, allocations: 35.48 kB / 0.5732 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.1601, allocations: 427.4 kB / 0.5736 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1604, allocations: 0.7517 MB / 0.5743 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1605, allocations: 17.55 kB / 0.5744 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1606, allocations: 15.44 kB / 0.5744 GB, free: 9.055 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1606, allocations: 4 kB / 0.5744 GB, free: 9.051 MB / 446.1 MB Notification: Performance of Templates: time 0.004675/0.1653, allocations: 1.623 MB / 0.576 GB, free: 7.457 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)