Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 114.8 kB / 17.09 MB, free: 5.996 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.002192/0.002193, allocations: 189.6 kB / 18.03 MB, free: 5.074 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8086/0.8086, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.33 kB / 0.5737 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1962, allocations: 78.7 MB / 0.6506 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005692/0.2019, allocations: 3.844 MB / 0.6543 GB, free: 284 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.2048, allocations: 1.773 MB / 0.6561 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.205, allocations: 11.94 kB / 0.6561 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.2063, allocations: 458.1 kB / 0.6565 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.207, allocations: 238.8 kB / 0.6567 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.2077, allocations: 258.1 kB / 0.657 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.2084, allocations: 0.4906 MB / 0.6575 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.209, allocations: 364.7 kB / 0.6578 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.2093, allocations: 203.3 kB / 0.658 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.2098, allocations: 231.2 kB / 0.6582 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.2099, allocations: 32 kB / 0.6583 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.2102, allocations: 183.6 kB / 0.6584 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.2104, allocations: 135.7 kB / 0.6586 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.2106, allocations: 183.1 kB / 0.6587 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.2114, allocations: 0.4903 MB / 0.6592 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2114, allocations: 0 / 0.6592 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2114, allocations: 0 / 0.6592 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.2114, allocations: 0 / 0.6592 GB, free: 11.26 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00123/0.2127, allocations: 0.6699 MB / 0.6599 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2127, allocations: 12.03 kB / 0.6599 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.2133, allocations: 80.64 kB / 0.66 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.2137, allocations: 308.3 kB / 0.6603 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2138, allocations: 25.02 kB / 0.6603 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.2138, allocations: 24.38 kB / 0.6603 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.2146, allocations: 486 kB / 0.6608 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2147, allocations: 4 kB / 0.6608 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.2147, allocations: 11.98 kB / 0.6608 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.2148, allocations: 44.62 kB / 0.6608 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.2156, allocations: 366.2 kB / 0.6612 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.2181, allocations: 2.037 MB / 0.6632 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.2187, allocations: 210.7 kB / 0.6634 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.2192, allocations: 156.8 kB / 0.6635 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2192, allocations: 7.922 kB / 0.6635 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2193, allocations: 34.56 kB / 0.6636 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.535e-06/0.2193, allocations: 0 / 0.6636 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001062/0.2203, allocations: 424.5 kB / 0.664 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2204, allocations: 51.41 kB / 0.664 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.2207, allocations: 262.7 kB / 0.6643 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2207, allocations: 37.7 kB / 0.6643 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2208, allocations: 208.2 kB / 0.6645 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.2209, allocations: 67.44 kB / 0.6646 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.221, allocations: 57.94 kB / 0.6646 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.2212, allocations: 338.8 kB / 0.6649 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.2215, allocations: 97.91 kB / 0.665 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.2218, allocations: 215.5 kB / 0.6652 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.2223, allocations: 311.2 kB / 0.6655 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.2224, allocations: 0 / 0.6655 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007969/0.2232, allocations: 364.1 kB / 0.6659 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.2232, allocations: 4 kB / 0.6659 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2232, allocations: 4 kB / 0.6659 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.2235, allocations: 41.2 kB / 0.6659 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.2237, allocations: 67.89 kB / 0.666 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.2253, allocations: 1.434 MB / 0.6674 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.2256, allocations: 43.75 kB / 0.6674 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2256, allocations: 16.09 kB / 0.6674 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00034/0.226, allocations: 211.9 kB / 0.6676 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002963/0.2263, allocations: 220.9 kB / 0.6679 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005138/0.2268, allocations: 315.1 kB / 0.6682 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.2268, allocations: 4 kB / 0.6682 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007314/0.2276, allocations: 340.8 kB / 0.6685 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2276, allocations: 7.938 kB / 0.6685 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2276, allocations: 4 kB / 0.6685 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.2276, allocations: 8 kB / 0.6685 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2279, allocations: 71.89 kB / 0.6686 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2279, allocations: 8 kB / 0.6686 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.2281, allocations: 35.8 kB / 0.6686 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2282, allocations: 12 kB / 0.6686 GB, free: 0.8398 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.2283, allocations: 208.1 kB / 0.6688 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.2284, allocations: 23.86 kB / 0.6689 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.696e-05/0.2284, allocations: 30.17 kB / 0.6689 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2284, allocations: 0 / 0.6689 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2285, allocations: 4 kB / 0.6689 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2286, allocations: 124.8 kB / 0.669 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2286, allocations: 0 / 0.669 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2288, allocations: 23.98 kB / 0.669 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2289, allocations: 15.92 kB / 0.669 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006874/0.2296, allocations: 332.2 kB / 0.6694 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007976/0.2304, allocations: 498.3 kB / 0.6698 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002243/0.2306, allocations: 87.95 kB / 0.6699 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001945/0.2308, allocations: 190 kB / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Backend: time 5.91e-07/0.2308, allocations: 0 / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.2324, allocations: 0.5903 MB / 0.6707 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001381/0.2338, allocations: 1.02 MB / 0.6717 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.009855/0.2437, allocations: 4.868 MB / 0.6764 GB, free: 8.766 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)