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.0009844/0.0009846, allocations: 107.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 189.6 kB / 17.34 MB, free: 5.633 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 66.16 kB / 0.5577 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1303, allocations: 76.17 MB / 0.6321 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004498/0.1348, allocations: 3.063 MB / 0.635 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1368, allocations: 1.317 MB / 0.6363 GB, free: 132 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.137, allocations: 7.938 kB / 0.6363 GB, free: 124 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.138, allocations: 346.6 kB / 0.6367 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1383, allocations: 143.3 kB / 0.6368 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1387, allocations: 135.6 kB / 0.6369 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.139, allocations: 299.1 kB / 0.6372 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.1394, allocations: 232.2 kB / 0.6374 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1396, allocations: 135.5 kB / 0.6376 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1399, allocations: 139.5 kB / 0.6377 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.14, allocations: 16 kB / 0.6377 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.1402, allocations: 167.6 kB / 0.6379 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.1403, allocations: 83.78 kB / 0.638 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1404, allocations: 111.5 kB / 0.6381 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.1408, allocations: 335 kB / 0.6384 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1408, allocations: 0 / 0.6384 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1409, allocations: 0 / 0.6384 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.1409, allocations: 0 / 0.6384 GB, free: 14.02 MB / 494.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.0006719/0.1415, allocations: 0.5069 MB / 0.6389 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1416, allocations: 8.031 kB / 0.6389 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.1421, allocations: 88.5 kB / 0.639 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1424, allocations: 251.9 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1424, allocations: 12.75 kB / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1425, allocations: 16.38 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1429, allocations: 307.2 kB / 0.6395 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1429, allocations: 0 / 0.6395 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1429, allocations: 4 kB / 0.6395 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.143, allocations: 24.36 kB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.1433, allocations: 196.9 kB / 0.6397 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1446, allocations: 1.46 MB / 0.6412 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1448, allocations: 171.7 kB / 0.6413 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1449, allocations: 32.84 kB / 0.6414 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1449, allocations: 4 kB / 0.6414 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1449, allocations: 34.56 kB / 0.6414 GB, free: 10.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1449, allocations: 3.984 kB / 0.6414 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004189/0.1454, allocations: 231.3 kB / 0.6416 GB, free: 10.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1454, allocations: 55.41 kB / 0.6417 GB, free: 10.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1456, allocations: 203.4 kB / 0.6419 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1456, allocations: 29.7 kB / 0.6419 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.1457, allocations: 163.6 kB / 0.6421 GB, free: 9.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1457, allocations: 23.81 kB / 0.6421 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.1458, allocations: 37.7 kB / 0.6421 GB, free: 9.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.1459, allocations: 326.8 kB / 0.6424 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.1459, allocations: 35.98 kB / 0.6425 GB, free: 9.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.146, allocations: 110 kB / 0.6426 GB, free: 9.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1462, allocations: 144.4 kB / 0.6427 GB, free: 9.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1462, allocations: 0 / 0.6427 GB, free: 9.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002824/0.1465, allocations: 190.3 kB / 0.6429 GB, free: 8.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1465, allocations: 4 kB / 0.6429 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1465, allocations: 4 kB / 0.6429 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.1467, allocations: 24.84 kB / 0.6429 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1468, allocations: 35.92 kB / 0.643 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.1479, allocations: 1.414 MB / 0.6443 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.148, allocations: 19.84 kB / 0.6444 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1481, allocations: 16.16 kB / 0.6444 GB, free: 7.281 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.1482, allocations: 150.3 kB / 0.6445 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1482, allocations: 15.81 kB / 0.6445 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.1483, allocations: 21.39 kB / 0.6445 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1483, allocations: 0 / 0.6445 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1483, allocations: 96 / 0.6445 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1483, allocations: 3.938 kB / 0.6446 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.1487, allocations: 451.1 kB / 0.645 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1488, allocations: 0 / 0.645 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1488, allocations: 4 kB / 0.645 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-05/0.1489, allocations: 24.84 kB / 0.645 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1489, allocations: 0 / 0.645 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008259/0.1497, allocations: 1.414 MB / 0.6464 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1497, allocations: 4 kB / 0.6464 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1499, allocations: 224.2 kB / 0.6466 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.15, allocations: 92.91 kB / 0.6467 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.15, allocations: 8 kB / 0.6467 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.1501, allocations: 0 / 0.6467 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1501, allocations: 7.984 kB / 0.6467 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1501, allocations: 0 / 0.6467 GB, free: 4.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1503, allocations: 144.4 kB / 0.6468 GB, free: 4.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1503, allocations: 4 kB / 0.6469 GB, free: 4.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1506, allocations: 51.84 kB / 0.6469 GB, free: 4.438 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.56e-05/0.1507, allocations: 95.25 kB / 0.647 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.151, allocations: 214.5 kB / 0.6472 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.151, allocations: 0.5625 kB / 0.6472 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.1511, allocations: 150.7 kB / 0.6473 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1515, allocations: 30.36 kB / 0.6474 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.152, allocations: 356 kB / 0.6477 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1523, allocations: 0.7514 MB / 0.6484 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.1524, allocations: 21.55 kB / 0.6485 GB, free: 2.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.1524, allocations: 15.44 kB / 0.6485 GB, free: 2.738 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1524, allocations: 3.938 kB / 0.6485 GB, free: 2.734 MB / 494.1 MB Notification: Performance of Templates: time 0.004099/0.1565, allocations: 1.77 MB / 0.6502 GB, free: 0.9844 MB / 494.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)