Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004796/0.004796, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001256/0.001256, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006017/0.2895, allocations: 4.101 MB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.2922, allocations: 1.597 MB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2924, allocations: 15.94 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.294, allocations: 0.5643 MB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.2945, allocations: 246.8 kB / 1.173 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.295, allocations: 215 kB / 1.173 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006243/0.2956, allocations: 0.5375 MB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.2964, allocations: 482 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.2967, allocations: 223.3 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.2971, allocations: 251.1 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.2972, allocations: 40 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.2975, allocations: 171.6 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.2977, allocations: 143.6 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.2979, allocations: 203 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.2986, allocations: 0.5215 MB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2986, allocations: 0 / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2986, allocations: 0 / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.2986, allocations: 0 / 1.175 GB, free: 14.03 MB / 0.9356 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.001288/0.2999, allocations: 0.6898 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2999, allocations: 12.03 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.3, allocations: 74.66 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007125/0.3007, allocations: 112.6 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3012, allocations: 307.8 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.3013, allocations: 51.27 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.3013, allocations: 32.38 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.3022, allocations: 0.5124 MB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3023, allocations: 0 / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.3023, allocations: 12 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/0.3024, allocations: 32.98 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.3031, allocations: 375.6 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.3058, allocations: 2.228 MB / 1.18 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.3066, allocations: 258.6 kB / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.3069, allocations: 148.8 kB / 1.18 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.307, allocations: 4 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.307, allocations: 30.56 kB / 1.18 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.307, allocations: 4 kB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001616/0.3087, allocations: 0.5738 MB / 1.18 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3087, allocations: 55.41 kB / 1.181 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.309, allocations: 232.9 kB / 1.181 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.309, allocations: 33.7 kB / 1.181 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3092, allocations: 208.2 kB / 1.181 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.3093, allocations: 75.36 kB / 1.181 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.3094, allocations: 53.66 kB / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3095, allocations: 330.8 kB / 1.181 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3098, allocations: 100.8 kB / 1.182 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.3101, allocations: 176.6 kB / 1.182 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.3106, allocations: 279.4 kB / 1.182 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3106, allocations: 3.938 kB / 1.182 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009464/0.3116, allocations: 375 kB / 1.182 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3116, allocations: 4 kB / 1.182 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3116, allocations: 4 kB / 1.182 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.3122, allocations: 113.7 kB / 1.182 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3124, allocations: 51.86 kB / 1.182 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.316, allocations: 3.049 MB / 1.185 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3163, allocations: 35.77 kB / 1.186 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3163, allocations: 8 kB / 1.186 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003567/0.3167, allocations: 220 kB / 1.186 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003022/0.317, allocations: 187.6 kB / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004949/0.3175, allocations: 275.2 kB / 1.186 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/0.3175, allocations: 4 kB / 1.186 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008313/0.3184, allocations: 346.2 kB / 1.186 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.3184, allocations: 11.94 kB / 1.187 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3184, allocations: 4 kB / 1.187 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.3187, allocations: 80.78 kB / 1.187 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3189, allocations: 55.91 kB / 1.187 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.3212, allocations: 1.617 MB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3214, allocations: 31.81 kB / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3214, allocations: 8 kB / 1.188 GB, free: 15.57 MB / 0.9512 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.0001538/0.3216, allocations: 200.1 kB / 1.188 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.3217, allocations: 23.86 kB / 1.188 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.3217, allocations: 26.19 kB / 1.188 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3218, allocations: 8 kB / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3218, allocations: 3.938 kB / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3218, allocations: 3.984 kB / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.3233, allocations: 0.8251 MB / 1.189 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3233, allocations: 0 / 1.189 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3235, allocations: 31.92 kB / 1.189 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.3239, allocations: 105.7 kB / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3239, allocations: 0 / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.3273, allocations: 3.032 MB / 1.192 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3273, allocations: 3.938 kB / 1.192 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/0.3281, allocations: 416.9 kB / 1.193 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3283, allocations: 116.9 kB / 1.193 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3283, allocations: 4 kB / 1.193 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3285, allocations: 11.98 kB / 1.193 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.3285, allocations: 24.06 kB / 1.193 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3286, allocations: 12 kB / 1.193 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001699/0.3287, allocations: 160.5 kB / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.3288, allocations: 0 / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000613/0.3294, allocations: 171.5 kB / 1.193 GB, free: 9.992 MB / 0.9512 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.00117/0.3306, allocations: 0.9565 MB / 1.194 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.3326, allocations: 0.7579 MB / 1.195 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3326, allocations: 3.938 kB / 1.195 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008329/0.3334, allocations: 369.9 kB / 1.195 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3339, allocations: 55.02 kB / 1.195 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.3383, allocations: 2.859 MB / 1.198 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.3388, allocations: 0.8106 MB / 1.199 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.339, allocations: 58.23 kB / 1.199 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3392, allocations: 87.41 kB / 1.199 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.3392, allocations: 0 / 1.199 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.3773, allocations: 7.355 MB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.08, allocations: 29.5 kB / 1.206 GB, free: 12.54 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)