Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_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.007922/0.007922, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001458/0.001458, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.495/2.495, allocations: 469.4 MB / 0.7421 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.89 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7819, allocations: 159.1 MB / 1.22 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005636/0.7876, allocations: 4.102 MB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.7902, allocations: 1.593 MB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.7905, allocations: 8 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.7921, allocations: 0.5798 MB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.7927, allocations: 234.8 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.7933, allocations: 219.1 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.7939, allocations: 0.5491 MB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.7947, allocations: 468.5 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.795, allocations: 235.2 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.7955, allocations: 247.2 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.7956, allocations: 36 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.7959, allocations: 171.6 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.7961, allocations: 147.7 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.7964, allocations: 199.1 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.797, allocations: 0.5224 MB / 1.229 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.797, allocations: 4 kB / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7971, allocations: 0 / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.7971, allocations: 0 / 1.229 GB, free: 9.02 MB / 0.9512 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.001343/0.7984, allocations: 0.6923 MB / 1.229 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.7985, allocations: 12.62 kB / 1.229 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.937e-05/0.7986, allocations: 78.66 kB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007584/0.7993, allocations: 108.6 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.7998, allocations: 308.3 kB / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/0.7999, allocations: 55.27 kB / 1.23 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.8, allocations: 28.38 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.8008, allocations: 0.5085 MB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8008, allocations: 4 kB / 1.231 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.8009, allocations: 16 kB / 1.231 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.8009, allocations: 24.98 kB / 1.231 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.8016, allocations: 383.6 kB / 1.231 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.804, allocations: 2.201 MB / 1.233 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.8047, allocations: 262.6 kB / 1.233 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.8051, allocations: 152.8 kB / 1.233 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.8051, allocations: 8 kB / 1.233 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.8051, allocations: 38.52 kB / 1.234 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.8051, allocations: 0 / 1.234 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.00147/0.8066, allocations: 0.5674 MB / 1.234 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.8067, allocations: 55.41 kB / 1.234 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.8069, allocations: 224.9 kB / 1.234 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.8069, allocations: 33.7 kB / 1.234 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.807, allocations: 216.2 kB / 1.235 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.8071, allocations: 67.44 kB / 1.235 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.8072, allocations: 53.66 kB / 1.235 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8073, allocations: 334.8 kB / 1.235 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.8075, allocations: 100.7 kB / 1.235 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.8078, allocations: 187 kB / 1.235 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.8083, allocations: 278.4 kB / 1.236 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8083, allocations: 3.938 kB / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008533/0.8091, allocations: 385.3 kB / 1.236 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8092, allocations: 4 kB / 1.236 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8092, allocations: 4 kB / 1.236 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.8097, allocations: 105.8 kB / 1.236 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.8099, allocations: 51.84 kB / 1.236 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.8131, allocations: 3.051 MB / 1.239 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.8134, allocations: 31.83 kB / 1.239 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.8134, allocations: 8 kB / 1.239 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003321/0.8138, allocations: 224 kB / 1.239 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002499/0.814, allocations: 175.1 kB / 1.239 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004365/0.8145, allocations: 271.9 kB / 1.24 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.8145, allocations: 3.984 kB / 1.24 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007834/0.8153, allocations: 357.9 kB / 1.24 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8153, allocations: 4.312 kB / 1.24 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8153, allocations: 8 kB / 1.24 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.8156, allocations: 72.78 kB / 1.24 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.8159, allocations: 67.91 kB / 1.24 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.8178, allocations: 1.609 MB / 1.242 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.8181, allocations: 35.88 kB / 1.242 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.8181, allocations: 12 kB / 1.242 GB, free: 10.57 MB / 0.9669 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.0001343/0.8182, allocations: 196.2 kB / 1.242 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.8183, allocations: 27.84 kB / 1.242 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.8184, allocations: 26.19 kB / 1.242 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8184, allocations: 0 / 1.242 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8184, allocations: 7.938 kB / 1.242 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8184, allocations: 7.984 kB / 1.242 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.8198, allocations: 0.8192 MB / 1.243 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8198, allocations: 0 / 1.243 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.8199, allocations: 35.97 kB / 1.243 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/0.8204, allocations: 105.6 kB / 1.243 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.8204, allocations: 4 kB / 1.243 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.8233, allocations: 3.02 MB / 1.246 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8233, allocations: 3.938 kB / 1.246 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/0.8242, allocations: 415.2 kB / 1.246 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.8243, allocations: 124.8 kB / 1.247 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.8243, allocations: 8 kB / 1.247 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.8245, allocations: 11.98 kB / 1.247 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.8246, allocations: 19.97 kB / 1.247 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.8246, allocations: 8 kB / 1.247 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001513/0.8248, allocations: 160.5 kB / 1.247 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8248, allocations: 0 / 1.247 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000751/0.8256, allocations: 175.5 kB / 1.247 GB, free: 5 MB / 0.9669 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.001091/0.8267, allocations: 0.9438 MB / 1.248 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.8287, allocations: 0.7603 MB / 1.249 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.8287, allocations: 4 kB / 1.249 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.8295, allocations: 371.8 kB / 1.249 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.83, allocations: 67.12 kB / 1.249 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.8345, allocations: 2.861 MB / 1.252 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.8352, allocations: 0.8068 MB / 1.253 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000253/0.8355, allocations: 58.23 kB / 1.253 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.8356, allocations: 91.41 kB / 1.253 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of SimCode: time 1.392e-06/0.8357, allocations: 0 / 1.253 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.8656, allocations: 7.361 MB / 1.26 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.87, allocations: 24.95 kB / 1.26 GB, free: 7.555 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)