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.001114/0.001115, allocations: 110.4 kB / 17.03 MB, free: 6.094 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.001061/0.001061, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.332/1.332, 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.761/0.761, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 76.13 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004897/0.3374, allocations: 4.079 MB / 0.5615 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3397, allocations: 1.594 MB / 0.5631 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.34, allocations: 7.531 kB / 0.5631 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.3416, allocations: 0.5781 MB / 0.5637 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007746/0.3424, allocations: 234.4 kB / 0.5639 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.3432, allocations: 211.7 kB / 0.5641 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008314/0.3441, allocations: 0.5468 MB / 0.5646 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009236/0.345, allocations: 474.3 kB / 0.5651 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.3455, allocations: 230.9 kB / 0.5653 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.346, allocations: 259 kB / 0.5655 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.3461, allocations: 38.38 kB / 0.5656 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.3466, allocations: 162 kB / 0.5657 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.3469, allocations: 148.4 kB / 0.5659 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.3471, allocations: 200.3 kB / 0.5661 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.348, allocations: 0.5221 MB / 0.5666 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.348, allocations: 0 / 0.5666 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.348, allocations: 0 / 0.5666 GB, free: 31.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.348, allocations: 1.062 kB / 0.5666 GB, free: 31.28 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.001441/0.3495, allocations: 0.6796 MB / 0.5672 GB, free: 30.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3495, allocations: 11.53 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.3507, allocations: 106 kB / 0.5674 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.3512, allocations: 310 kB / 0.5677 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.993e-05/0.3513, allocations: 52.62 kB / 0.5677 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.3514, allocations: 35.31 kB / 0.5677 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3526, allocations: 0.5057 MB / 0.5682 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3526, allocations: 0.5625 kB / 0.5682 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.3527, allocations: 12.66 kB / 0.5682 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/0.3528, allocations: 33 kB / 0.5683 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/0.3538, allocations: 376.1 kB / 0.5686 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.3567, allocations: 2.203 MB / 0.5708 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000964/0.3577, allocations: 261.1 kB / 0.571 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.3582, allocations: 160.2 kB / 0.5712 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3583, allocations: 2.094 kB / 0.5712 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3583, allocations: 33.77 kB / 0.5712 GB, free: 28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/0.3583, allocations: 0 / 0.5712 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001871/0.3602, allocations: 0.5688 MB / 0.5718 GB, free: 27.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3602, allocations: 59.27 kB / 0.5718 GB, free: 27.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3605, allocations: 231.3 kB / 0.5721 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3606, allocations: 26.8 kB / 0.5721 GB, free: 27.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3607, allocations: 212.8 kB / 0.5723 GB, free: 27.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.3608, allocations: 65.52 kB / 0.5723 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3609, allocations: 56.12 kB / 0.5724 GB, free: 27.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.361, allocations: 331.2 kB / 0.5727 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3613, allocations: 92.72 kB / 0.5728 GB, free: 26.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.3617, allocations: 186.1 kB / 0.573 GB, free: 26.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.3623, allocations: 287.2 kB / 0.5733 GB, free: 26.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3623, allocations: 1.125 kB / 0.5733 GB, free: 26.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00115/0.3634, allocations: 370.4 kB / 0.5736 GB, free: 26.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3635, allocations: 9.797 kB / 0.5736 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3635, allocations: 2.75 kB / 0.5736 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/0.3642, allocations: 107.3 kB / 0.5737 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.3644, allocations: 53.36 kB / 0.5738 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.3669, allocations: 3.053 MB / 0.5768 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.3672, allocations: 31.97 kB / 0.5768 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3672, allocations: 11.31 kB / 0.5768 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003107/0.3676, allocations: 222.4 kB / 0.577 GB, free: 23.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002189/0.3678, allocations: 184.2 kB / 0.5772 GB, free: 23.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003886/0.3682, allocations: 264.8 kB / 0.5774 GB, free: 22.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.3682, allocations: 1.969 kB / 0.5774 GB, free: 22.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007235/0.3689, allocations: 349 kB / 0.5778 GB, free: 22.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3689, allocations: 10.44 kB / 0.5778 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.369, allocations: 2.875 kB / 0.5778 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.3692, allocations: 83 kB / 0.5779 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.3695, allocations: 60.42 kB / 0.5779 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.3711, allocations: 1.615 MB / 0.5795 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.3713, allocations: 35.03 kB / 0.5795 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3714, allocations: 12.62 kB / 0.5795 GB, free: 21.29 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 8.228e-05/0.3714, allocations: 194.2 kB / 0.5797 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.3715, allocations: 24.05 kB / 0.5798 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.3716, allocations: 29.98 kB / 0.5798 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3716, allocations: 2.469 kB / 0.5798 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3716, allocations: 0 / 0.5798 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3716, allocations: 17.31 kB / 0.5798 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3729, allocations: 0.8277 MB / 0.5806 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3729, allocations: 1.156 kB / 0.5806 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3731, allocations: 32.67 kB / 0.5806 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003666/0.3734, allocations: 100.2 kB / 0.5807 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3735, allocations: 7.281 kB / 0.5807 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.3758, allocations: 3.025 MB / 0.5837 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3758, allocations: 0 / 0.5837 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.3766, allocations: 414.2 kB / 0.5841 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3767, allocations: 123.5 kB / 0.5842 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3767, allocations: 2.953 kB / 0.5842 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3769, allocations: 11.55 kB / 0.5842 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.377, allocations: 19.95 kB / 0.5842 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.377, allocations: 8.844 kB / 0.5843 GB, free: 17.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3771, allocations: 164.4 kB / 0.5844 GB, free: 17.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.3772, allocations: 0 / 0.5844 GB, free: 17.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006576/0.3778, allocations: 175.8 kB / 0.5846 GB, free: 17.03 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.000103/0.3779, allocations: 99.84 kB / 0.5847 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.3797, allocations: 0.7565 MB / 0.5854 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3798, allocations: 0 / 0.5854 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.3804, allocations: 377.3 kB / 0.5858 GB, free: 16.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3809, allocations: 61.86 kB / 0.5858 GB, free: 16.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.3818, allocations: 0.5797 MB / 0.5864 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.3821, allocations: 0.8108 MB / 0.5872 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.3823, allocations: 55.58 kB / 0.5872 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.3824, allocations: 20.33 kB / 0.5873 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3824, allocations: 4 kB / 0.5873 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Templates: time 0.01025/0.3927, allocations: 4.667 MB / 0.5918 GB, free: 13.61 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)