Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 104.7 kB / 16.52 MB, free: 6.266 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.001096/0.001096, allocations: 197 kB / 17.44 MB, free: 5.887 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 115.3 MB / 406.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 493.5 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3622, allocations: 76.17 MB / 0.5564 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005317/0.3675, allocations: 4.107 MB / 0.5604 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3703, allocations: 1.599 MB / 0.5619 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.3705, allocations: 10.28 kB / 0.562 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3719, allocations: 0.551 MB / 0.5625 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.3724, allocations: 212.3 kB / 0.5627 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.373, allocations: 197.3 kB / 0.5629 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.3739, allocations: 0.7724 MB / 0.5636 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.3744, allocations: 326.9 kB / 0.5639 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.3747, allocations: 199 kB / 0.5641 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.3751, allocations: 265.7 kB / 0.5644 GB, free: 31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.3752, allocations: 25.78 kB / 0.5644 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.3756, allocations: 196 kB / 0.5646 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3758, allocations: 139.7 kB / 0.5647 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.376, allocations: 192.4 kB / 0.5649 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.3765, allocations: 410.6 kB / 0.5653 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3765, allocations: 1.094 kB / 0.5653 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3765, allocations: 0 / 0.5653 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3765, allocations: 4.438 kB / 0.5653 GB, free: 30.67 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001262/0.3778, allocations: 0.6752 MB / 0.566 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3779, allocations: 12.94 kB / 0.566 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.3786, allocations: 107.8 kB / 0.5661 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.379, allocations: 299.1 kB / 0.5664 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/0.379, allocations: 55.98 kB / 0.5664 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.3791, allocations: 35.39 kB / 0.5665 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/0.38, allocations: 0.5055 MB / 0.567 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.38, allocations: 1.969 kB / 0.567 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.3801, allocations: 19.98 kB / 0.567 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.3801, allocations: 34.5 kB / 0.567 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.3809, allocations: 378.5 kB / 0.5674 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.3833, allocations: 2.212 MB / 0.5695 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007853/0.3841, allocations: 262.8 kB / 0.5698 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.3845, allocations: 154.2 kB / 0.5699 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3845, allocations: 3.531 kB / 0.5699 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3845, allocations: 35.66 kB / 0.57 GB, free: 27.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.385e-06/0.3845, allocations: 1.156 kB / 0.57 GB, free: 27.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001589/0.3861, allocations: 0.5693 MB / 0.5705 GB, free: 27.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3862, allocations: 54.27 kB / 0.5706 GB, free: 26.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3864, allocations: 224 kB / 0.5708 GB, free: 26.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3865, allocations: 31.86 kB / 0.5708 GB, free: 26.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3866, allocations: 215.2 kB / 0.571 GB, free: 26.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.3866, allocations: 62.89 kB / 0.5711 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.3867, allocations: 50.14 kB / 0.5711 GB, free: 26.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.3868, allocations: 334.1 kB / 0.5714 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.3871, allocations: 96.72 kB / 0.5715 GB, free: 26.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3873, allocations: 184.1 kB / 0.5717 GB, free: 26.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.3878, allocations: 278.4 kB / 0.572 GB, free: 25.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3878, allocations: 0 / 0.572 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008653/0.3887, allocations: 374.3 kB / 0.5723 GB, free: 25.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3887, allocations: 7.75 kB / 0.5723 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3887, allocations: 2.234 kB / 0.5723 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.3893, allocations: 121.2 kB / 0.5725 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3895, allocations: 44.42 kB / 0.5725 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.3921, allocations: 2.829 MB / 0.5753 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3924, allocations: 32.64 kB / 0.5753 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3925, allocations: 7.875 kB / 0.5753 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003443/0.3928, allocations: 224.2 kB / 0.5755 GB, free: 22.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002549/0.3931, allocations: 178.7 kB / 0.5757 GB, free: 22.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000432/0.3935, allocations: 275.9 kB / 0.576 GB, free: 22.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.706e-06/0.3935, allocations: 5.109 kB / 0.576 GB, free: 22.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007805/0.3943, allocations: 347.5 kB / 0.5763 GB, free: 22.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3943, allocations: 5.75 kB / 0.5763 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3943, allocations: 2.906 kB / 0.5763 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.3947, allocations: 78.59 kB / 0.5764 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3949, allocations: 57.27 kB / 0.5764 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.3965, allocations: 1.511 MB / 0.5779 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.3968, allocations: 30.58 kB / 0.5779 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3968, allocations: 12.91 kB / 0.5779 GB, free: 21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3969, allocations: 195.3 kB / 0.5781 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.397, allocations: 26.78 kB / 0.5782 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.397, allocations: 32.27 kB / 0.5782 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3971, allocations: 2.75 kB / 0.5782 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3971, allocations: 0 / 0.5782 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3971, allocations: 0 / 0.5782 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3984, allocations: 0.8411 MB / 0.579 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3984, allocations: 1.375 kB / 0.579 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3986, allocations: 32.84 kB / 0.579 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003685/0.3989, allocations: 104.8 kB / 0.5791 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.399, allocations: 2.406 kB / 0.5791 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.4012, allocations: 2.803 MB / 0.5819 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4012, allocations: 1.062 kB / 0.5819 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.4019, allocations: 414.9 kB / 0.5823 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.402, allocations: 115.4 kB / 0.5824 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4021, allocations: 15.42 kB / 0.5824 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4023, allocations: 7.812 kB / 0.5824 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.4023, allocations: 23.83 kB / 0.5824 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.4024, allocations: 8.375 kB / 0.5824 GB, free: 17.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.4025, allocations: 166.9 kB / 0.5826 GB, free: 16.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4025, allocations: 0 / 0.5826 GB, free: 16.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007048/0.4032, allocations: 169.6 kB / 0.5828 GB, free: 16.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.4034, allocations: 99.88 kB / 0.5829 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.4052, allocations: 0.7583 MB / 0.5836 GB, free: 16.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4052, allocations: 0 / 0.5836 GB, free: 16.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.406, allocations: 371.2 kB / 0.584 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4065, allocations: 51.88 kB / 0.584 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.4075, allocations: 0.759 MB / 0.5847 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4078, allocations: 0.8191 MB / 0.5855 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.4079, allocations: 25 kB / 0.5856 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4079, allocations: 0 / 0.5856 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Templates: time 0.009316/0.4172, allocations: 6.145 MB / 0.5916 GB, free: 12.78 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)