Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_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.007988/0.007988, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002037/0.002037, allocations: 197.3 kB / 16.68 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6648 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7115, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00515/0.7167, allocations: 4.109 MB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.7191, allocations: 1.584 MB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.7193, allocations: 7.844 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.7209, allocations: 0.584 MB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.7214, allocations: 241.3 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.722, allocations: 204.5 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.7227, allocations: 0.5454 MB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007943/0.7235, allocations: 487.4 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.7238, allocations: 227.2 kB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.7242, allocations: 256.8 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.7243, allocations: 36.19 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.7246, allocations: 166.3 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.7248, allocations: 148.2 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.7251, allocations: 195.3 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.7258, allocations: 0.5199 MB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7258, allocations: 1.266 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7258, allocations: 1.125 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.7258, allocations: 0 / 1.096 GB, free: 15.78 MB / 0.8731 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.001335/0.7272, allocations: 0.6809 MB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7272, allocations: 9.062 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.7274, allocations: 73.14 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.7281, allocations: 109.6 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.7286, allocations: 306.7 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.7287, allocations: 55.61 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.7288, allocations: 30.72 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.7298, allocations: 0.5061 MB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7298, allocations: 1.688 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.7298, allocations: 19.98 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/0.7299, allocations: 29.2 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.7307, allocations: 378.9 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.7335, allocations: 2.204 MB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.7344, allocations: 262.8 kB / 1.101 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.7348, allocations: 156.3 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.7348, allocations: 2.75 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.7348, allocations: 33.28 kB / 1.101 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 3.586e-06/0.7349, allocations: 0 / 1.101 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001713/0.7366, allocations: 0.5711 MB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.7366, allocations: 54.28 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.7369, allocations: 227.9 kB / 1.102 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.7369, allocations: 30.7 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.737, allocations: 219.4 kB / 1.102 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.7371, allocations: 64.88 kB / 1.102 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.7372, allocations: 54.91 kB / 1.102 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7373, allocations: 333.9 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.7376, allocations: 93.08 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.7379, allocations: 184.2 kB / 1.103 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.7385, allocations: 277.3 kB / 1.103 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.7385, allocations: 5.156 kB / 1.103 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009953/0.7395, allocations: 370.8 kB / 1.104 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7396, allocations: 6.766 kB / 1.104 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7396, allocations: 2.5 kB / 1.104 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.7401, allocations: 110.8 kB / 1.104 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.7404, allocations: 56.98 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.7436, allocations: 3.04 MB / 1.107 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.7439, allocations: 35.22 kB / 1.107 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.7439, allocations: 13.16 kB / 1.107 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003515/0.7443, allocations: 222 kB / 1.107 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002777/0.7446, allocations: 186.6 kB / 1.107 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004702/0.745, allocations: 262.7 kB / 1.107 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.073e-06/0.745, allocations: 5.188 kB / 1.107 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008232/0.7459, allocations: 353.8 kB / 1.108 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7459, allocations: 13.25 kB / 1.108 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7459, allocations: 3.281 kB / 1.108 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.7462, allocations: 86.97 kB / 1.108 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.7465, allocations: 48.92 kB / 1.108 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.7485, allocations: 1.615 MB / 1.109 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.7488, allocations: 32 kB / 1.11 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7488, allocations: 8 kB / 1.11 GB, free: 5.656 MB / 0.8731 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.0001437/0.749, allocations: 201.7 kB / 1.11 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.749, allocations: 23.81 kB / 1.11 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.7491, allocations: 29.5 kB / 1.11 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7491, allocations: 3.531 kB / 1.11 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7491, allocations: 15.88 kB / 1.11 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.7491, allocations: 0.75 kB / 1.11 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.7506, allocations: 0.8269 MB / 1.111 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7506, allocations: 0 / 1.111 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.7508, allocations: 29.8 kB / 1.111 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.7512, allocations: 100.7 kB / 1.111 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.7512, allocations: 6.719 kB / 1.111 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.7543, allocations: 3.02 MB / 1.114 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7543, allocations: 1.469 kB / 1.114 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.7551, allocations: 415.2 kB / 1.114 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7552, allocations: 124.9 kB / 1.114 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.7553, allocations: 5.938 kB / 1.114 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.7555, allocations: 11.78 kB / 1.114 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.7555, allocations: 28.55 kB / 1.114 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.7556, allocations: 4.125 kB / 1.114 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001495/0.7557, allocations: 162.6 kB / 1.114 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7557, allocations: 0 / 1.114 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006541/0.7564, allocations: 172.9 kB / 1.115 GB, free: 1.387 MB / 0.8731 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.001081/0.7575, allocations: 0.9457 MB / 1.115 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.7595, allocations: 0.7594 MB / 1.116 GB, free: 156 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7595, allocations: 0 / 1.116 GB, free: 156 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008575/0.7604, allocations: 383.4 kB / 1.117 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.7608, allocations: 55.39 kB / 1.117 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.7655, allocations: 2.842 MB / 1.119 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.766, allocations: 0.809 MB / 1.12 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000221/0.7662, allocations: 59.98 kB / 1.12 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.7664, allocations: 88.73 kB / 1.12 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of SimCode: time 1.893e-06/0.7664, allocations: 0 / 1.12 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.8003, allocations: 7.359 MB / 1.128 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.69, allocations: 9.875 kB / 1.128 GB, free: 12.31 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)