Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001357/0.001356, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.793/1.793, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001459/0.00146, allocations: 66.38 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3003, allocations: 114.5 MB / 0.7833 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.007744/0.3081, allocations: 3.841 MB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.3123, allocations: 1.769 MB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.3128, allocations: 11.94 kB / 0.7888 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.3145, allocations: 450.2 kB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007961/0.3153, allocations: 242.8 kB / 0.7895 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3162, allocations: 254.7 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.3173, allocations: 0.4946 MB / 0.7902 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.3185, allocations: 361.1 kB / 0.7906 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.319, allocations: 195.3 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.3197, allocations: 235.1 kB / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.3198, allocations: 32 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.3202, allocations: 187.6 kB / 0.7912 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3204, allocations: 135.7 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.3207, allocations: 175.1 kB / 0.7915 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.3213, allocations: 490.4 kB / 0.792 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3214, allocations: 4 kB / 0.792 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3214, allocations: 0 / 0.792 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.3214, allocations: 0 / 0.792 GB, free: 4.66 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001498/0.3229, allocations: 0.6613 MB / 0.7926 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.323, allocations: 8.031 kB / 0.7926 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/0.3236, allocations: 84.41 kB / 0.7927 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.3241, allocations: 299.3 kB / 0.793 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.3242, allocations: 24.97 kB / 0.793 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.3242, allocations: 28.36 kB / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.3251, allocations: 490 kB / 0.7935 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3251, allocations: 3.938 kB / 0.7935 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.3252, allocations: 12 kB / 0.7935 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.3252, allocations: 36.64 kB / 0.7935 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.326, allocations: 370.2 kB / 0.7939 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.3282, allocations: 2.044 MB / 0.7959 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.3289, allocations: 210.7 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.3293, allocations: 156.8 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3293, allocations: 3.984 kB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.3294, allocations: 38.5 kB / 0.7963 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.3294, allocations: 4 kB / 0.7963 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001209/0.3306, allocations: 417.7 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3307, allocations: 59.41 kB / 0.7967 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.331, allocations: 262.6 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.331, allocations: 25.7 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3311, allocations: 215.6 kB / 0.7972 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.3312, allocations: 70.89 kB / 0.7973 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3313, allocations: 57.89 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3315, allocations: 338.8 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3317, allocations: 101.9 kB / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.332, allocations: 199.6 kB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.3326, allocations: 320.4 kB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3326, allocations: 0 / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007615/0.3334, allocations: 353.7 kB / 0.7986 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3334, allocations: 4.469 kB / 0.7986 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3334, allocations: 8 kB / 0.7986 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.3337, allocations: 36.83 kB / 0.7987 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.334, allocations: 71.83 kB / 0.7987 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.3355, allocations: 1.437 MB / 0.8001 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.3357, allocations: 39.67 kB / 0.8002 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.3358, allocations: 15.98 kB / 0.8002 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003678/0.3361, allocations: 208.6 kB / 0.8004 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003182/0.3365, allocations: 212.7 kB / 0.8006 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005726/0.337, allocations: 327.1 kB / 0.8009 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.3371, allocations: 4 kB / 0.8009 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006974/0.3378, allocations: 336.3 kB / 0.8012 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3378, allocations: 8 kB / 0.8012 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3378, allocations: 4 kB / 0.8012 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.3378, allocations: 4 kB / 0.8012 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.3381, allocations: 72.3 kB / 0.8013 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3381, allocations: 15.98 kB / 0.8013 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3383, allocations: 35.81 kB / 0.8013 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3384, allocations: 12 kB / 0.8014 GB, free: 10.24 MB / 0.6231 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.0001885/0.3386, allocations: 204.7 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.3386, allocations: 23.72 kB / 0.8016 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.3387, allocations: 30.17 kB / 0.8016 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3387, allocations: 4 kB / 0.8016 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3387, allocations: 4 kB / 0.8016 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3387, allocations: 0 / 0.8016 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3399, allocations: 0.7499 MB / 0.8023 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.34, allocations: 8 kB / 0.8024 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.3402, allocations: 39.91 kB / 0.8024 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.3403, allocations: 28.78 kB / 0.8024 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3403, allocations: 8 kB / 0.8024 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.3414, allocations: 1.43 MB / 0.8038 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3414, allocations: 0 / 0.8038 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.3421, allocations: 368.5 kB / 0.8042 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.3423, allocations: 112.8 kB / 0.8043 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3423, allocations: 4 kB / 0.8043 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3425, allocations: 15.98 kB / 0.8043 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.3426, allocations: 19.91 kB / 0.8043 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3426, allocations: 11.94 kB / 0.8043 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001828/0.3428, allocations: 190 kB / 0.8045 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0 / 0.8045 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000628/0.3434, allocations: 147.4 kB / 0.8047 GB, free: 6.598 MB / 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 (18): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001595/0.3436, allocations: 95.25 kB / 0.8047 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.3448, allocations: 0.4959 MB / 0.8052 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3448, allocations: 4 kB / 0.8052 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.3452, allocations: 222.7 kB / 0.8054 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.3457, allocations: 75.19 kB / 0.8055 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3467, allocations: 0.5489 MB / 0.8061 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.3472, allocations: 0.8035 MB / 0.8068 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00025/0.3475, allocations: 66.22 kB / 0.8069 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.3475, allocations: 19.44 kB / 0.8069 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3476, allocations: 8 kB / 0.8069 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.00783/0.3554, allocations: 3.514 MB / 0.8104 GB, free: 0.7031 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)