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.001622/0.001622, allocations: 108 kB / 15.61 MB, free: 152 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.002026/0.002027, allocations: 193 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.327/2.327, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 59.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.577, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004636/0.5816, allocations: 4.102 MB / 0.9537 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.5838, allocations: 1.585 MB / 0.9553 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.584, allocations: 6.781 kB / 0.9553 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.5854, allocations: 0.5863 MB / 0.9558 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.5858, allocations: 236.5 kB / 0.9561 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.5862, allocations: 214.2 kB / 0.9563 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.5867, allocations: 0.539 MB / 0.9568 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005844/0.5873, allocations: 492 kB / 0.9573 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.5875, allocations: 229.4 kB / 0.9575 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.5879, allocations: 249.8 kB / 0.9577 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.5879, allocations: 39.25 kB / 0.9578 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.5882, allocations: 162.8 kB / 0.9579 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.5884, allocations: 146.8 kB / 0.9581 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.5886, allocations: 203.6 kB / 0.9583 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.589, allocations: 0.5102 MB / 0.9588 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.589, allocations: 0 / 0.9588 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.589, allocations: 4 kB / 0.9588 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.589, allocations: 0.9375 kB / 0.9588 GB, free: 2.48 MB / 0.7169 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.001039/0.5901, allocations: 0.6842 MB / 0.9594 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5901, allocations: 9.469 kB / 0.9594 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.5902, allocations: 76.22 kB / 0.9595 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007058/0.5909, allocations: 107 kB / 0.9596 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.5912, allocations: 301.1 kB / 0.9599 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.5913, allocations: 54.66 kB / 0.9599 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.5914, allocations: 30.41 kB / 0.96 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.5921, allocations: 0.5064 MB / 0.9605 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5921, allocations: 1.094 kB / 0.9605 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.5922, allocations: 15.28 kB / 0.9605 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.5922, allocations: 31.77 kB / 0.9605 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.5929, allocations: 377.4 kB / 0.9609 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.5951, allocations: 2.21 MB / 0.963 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.5958, allocations: 265.6 kB / 0.9633 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.5962, allocations: 150.2 kB / 0.9634 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5962, allocations: 2.094 kB / 0.9634 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5962, allocations: 40.56 kB / 0.9635 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.5962, allocations: 0 / 0.9635 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.00154/0.5978, allocations: 0.567 MB / 0.964 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.5978, allocations: 53.62 kB / 0.9641 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.5981, allocations: 224.2 kB / 0.9643 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.5981, allocations: 38.94 kB / 0.9643 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5982, allocations: 210.8 kB / 0.9645 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.5983, allocations: 59.39 kB / 0.9646 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.5984, allocations: 57.55 kB / 0.9646 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5985, allocations: 332.6 kB / 0.965 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.5987, allocations: 96.05 kB / 0.9651 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.599, allocations: 186.3 kB / 0.9652 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.5996, allocations: 275.2 kB / 0.9655 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5996, allocations: 9.031 kB / 0.9655 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009202/0.6005, allocations: 379.1 kB / 0.9659 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6006, allocations: 6 kB / 0.9659 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6006, allocations: 6.094 kB / 0.9659 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.6011, allocations: 113.6 kB / 0.966 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.6013, allocations: 49.19 kB / 0.966 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/0.6046, allocations: 3.04 MB / 0.969 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.6049, allocations: 34.8 kB / 0.969 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.605, allocations: 12.81 kB / 0.969 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00036/0.6053, allocations: 217 kB / 0.9692 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002772/0.6056, allocations: 186.7 kB / 0.9694 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004664/0.6061, allocations: 266.1 kB / 0.9697 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.6061, allocations: 5.125 kB / 0.9697 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007926/0.6069, allocations: 351.1 kB / 0.97 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.6069, allocations: 10.19 kB / 0.97 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.607, allocations: 2.125 kB / 0.97 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.6073, allocations: 83.59 kB / 0.9701 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.6075, allocations: 52.53 kB / 0.9702 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.6095, allocations: 1.612 MB / 0.9717 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.6098, allocations: 35.83 kB / 0.9718 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.6098, allocations: 12.91 kB / 0.9718 GB, free: 7.18 MB / 0.7325 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.0001298/0.6099, allocations: 197.3 kB / 0.972 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.61, allocations: 27.03 kB / 0.972 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.61, allocations: 31.34 kB / 0.972 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6101, allocations: 1.25 kB / 0.972 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6101, allocations: 4.938 kB / 0.972 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6101, allocations: 3.984 kB / 0.972 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.6115, allocations: 0.8288 MB / 0.9728 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6116, allocations: 5.234 kB / 0.9728 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.6117, allocations: 30.52 kB / 0.9729 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003871/0.6121, allocations: 105.8 kB / 0.973 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.6121, allocations: 5 kB / 0.973 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.615, allocations: 3.013 MB / 0.9759 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6151, allocations: 1.188 kB / 0.9759 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.6159, allocations: 419.9 kB / 0.9763 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.616, allocations: 117.8 kB / 0.9764 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.616, allocations: 10.25 kB / 0.9765 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.6162, allocations: 14.14 kB / 0.9765 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.6163, allocations: 19.78 kB / 0.9765 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.6163, allocations: 4.656 kB / 0.9765 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001539/0.6165, allocations: 170.7 kB / 0.9767 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6165, allocations: 1.406 kB / 0.9767 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006766/0.6172, allocations: 168.4 kB / 0.9768 GB, free: 2.562 MB / 0.7325 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.6183, allocations: 0.9451 MB / 0.9777 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.6203, allocations: 0.776 MB / 0.9785 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6203, allocations: 1.031 kB / 0.9785 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007942/0.6211, allocations: 380.6 kB / 0.9789 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.6216, allocations: 58.33 kB / 0.9789 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.6257, allocations: 2.848 MB / 0.9817 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.6261, allocations: 0.8099 MB / 0.9825 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.6263, allocations: 63.78 kB / 0.9825 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6265, allocations: 91.09 kB / 0.9826 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.6265, allocations: 0 / 0.9826 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.6567, allocations: 7.214 MB / 0.9897 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.47, allocations: 4.188 kB / 0.9897 GB, free: 7.242 MB / 0.7481 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)