Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001002/0.001002, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007777/0.007777, allocations: 173.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005586/0.0005587, allocations: 16.69 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3206, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005283/0.3259, allocations: 3.716 MB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.3287, allocations: 1.567 MB / 0.793 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.329, allocations: 11.94 kB / 0.793 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3294, allocations: 63.48 kB / 0.7931 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.3301, allocations: 227 kB / 0.7933 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.3309, allocations: 187.7 kB / 0.7935 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.332, allocations: 0.7792 MB / 0.7943 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.3327, allocations: 442.4 kB / 0.7947 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.3331, allocations: 179.3 kB / 0.7949 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.3337, allocations: 235.1 kB / 0.7951 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.3338, allocations: 23.94 kB / 0.7951 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.3343, allocations: 191.6 kB / 0.7953 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3345, allocations: 131.7 kB / 0.7954 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.3348, allocations: 196.8 kB / 0.7956 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.3356, allocations: 0.514 MB / 0.7961 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3356, allocations: 0 / 0.7961 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3356, allocations: 0 / 0.7961 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.3356, allocations: 0 / 0.7961 GB, free: 3.094 MB / 0.6075 GB 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.001337/0.337, allocations: 0.6125 MB / 0.7967 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.337, allocations: 12.02 kB / 0.7967 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.3379, allocations: 112.4 kB / 0.7968 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.3384, allocations: 299.6 kB / 0.7971 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.3384, allocations: 51.27 kB / 0.7972 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.3385, allocations: 36.36 kB / 0.7972 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.3395, allocations: 0.5087 MB / 0.7977 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3395, allocations: 0 / 0.7977 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.3396, allocations: 15.98 kB / 0.7977 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.3396, allocations: 36.97 kB / 0.7977 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.3404, allocations: 391.6 kB / 0.7981 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.3429, allocations: 2.231 MB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.3437, allocations: 266.6 kB / 0.8005 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.344, allocations: 160.8 kB / 0.8007 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.3441, allocations: 7.984 kB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3441, allocations: 34.56 kB / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/0.3441, allocations: 0 / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001626/0.3458, allocations: 0.5895 MB / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3458, allocations: 55.41 kB / 0.8014 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3461, allocations: 225 kB / 0.8016 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3461, allocations: 29.7 kB / 0.8016 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3462, allocations: 211.7 kB / 0.8018 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.3463, allocations: 74.92 kB / 0.8019 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3464, allocations: 25.72 kB / 0.8019 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3465, allocations: 334.8 kB / 0.8022 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3467, allocations: 91.94 kB / 0.8023 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.347, allocations: 187 kB / 0.8025 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3475, allocations: 281.2 kB / 0.8028 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3475, allocations: 4 kB / 0.8028 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008443/0.3484, allocations: 389.4 kB / 0.8031 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3485, allocations: 165.6 kB / 0.8033 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3485, allocations: 4 kB / 0.8033 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.349, allocations: 105.6 kB / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3493, allocations: 55.91 kB / 0.8034 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.3526, allocations: 2.824 MB / 0.8062 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.3529, allocations: 43.83 kB / 0.8062 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3529, allocations: 11.94 kB / 0.8063 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3529, allocations: 6.969 kB / 0.8063 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007255/0.3537, allocations: 312.6 kB / 0.8066 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3537, allocations: 0 / 0.8066 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.354, allocations: 84.91 kB / 0.8066 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3542, allocations: 55.91 kB / 0.8067 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.3561, allocations: 1.499 MB / 0.8082 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3563, allocations: 27.83 kB / 0.8082 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3564, allocations: 12 kB / 0.8082 GB, free: 5.695 MB / 0.6231 GB 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.0002667/0.3566, allocations: 249.8 kB / 0.8084 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.3567, allocations: 27.78 kB / 0.8085 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.3568, allocations: 30.17 kB / 0.8085 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3568, allocations: 11.94 kB / 0.8085 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3568, allocations: 0 / 0.8085 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3568, allocations: 0 / 0.8085 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3582, allocations: 0.8288 MB / 0.8093 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3582, allocations: 0 / 0.8093 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3584, allocations: 47.97 kB / 0.8094 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/0.3588, allocations: 101.6 kB / 0.8095 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3588, allocations: 4 kB / 0.8095 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.3617, allocations: 2.81 MB / 0.8122 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3617, allocations: 0 / 0.8122 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.3625, allocations: 438.5 kB / 0.8126 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3627, allocations: 116.8 kB / 0.8127 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3627, allocations: 4 kB / 0.8127 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3629, allocations: 15.98 kB / 0.8128 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.363, allocations: 23.91 kB / 0.8128 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.363, allocations: 8 kB / 0.8128 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001569/0.3631, allocations: 168.5 kB / 0.8129 GB, free: 444 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3631, allocations: 0 / 0.8129 GB, free: 444 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000648/0.3638, allocations: 167.4 kB / 0.8131 GB, free: 276 kB / 0.6231 GB 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.0001461/0.3639, allocations: 107.1 kB / 0.8132 GB, free: 160 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.3658, allocations: 0.765 MB / 0.814 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3658, allocations: 0 / 0.814 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.3666, allocations: 373.7 kB / 0.8143 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.3671, allocations: 63.06 kB / 0.8144 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3682, allocations: 0.7348 MB / 0.8151 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.3687, allocations: 0.8107 MB / 0.8159 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.3689, allocations: 58.23 kB / 0.8159 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.3689, allocations: 19.44 kB / 0.816 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.3689, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.008123/0.3771, allocations: 4.252 MB / 0.8201 GB, free: 9.004 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: