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.007548/0.007548, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001902/0.001902, allocations: 193.8 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7251, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004877/0.73, allocations: 4.102 MB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.7323, allocations: 1.586 MB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.7325, allocations: 11.84 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.7341, allocations: 0.5876 MB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.7347, allocations: 241.4 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.7352, allocations: 212.3 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.7359, allocations: 0.5482 MB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.7366, allocations: 472.8 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.7369, allocations: 232 kB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.7373, allocations: 260.5 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.7374, allocations: 36.5 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.7377, allocations: 161.6 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.7379, allocations: 148.6 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.7382, allocations: 195.5 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.7389, allocations: 0.5279 MB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.739, allocations: 0.7031 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.222e-06/0.739, allocations: 4.656 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.739, allocations: 0 / 1.097 GB, free: 15.77 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.001236/0.7402, allocations: 0.684 MB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.7403, allocations: 9.875 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.248e-05/0.7404, allocations: 77.39 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.7411, allocations: 114.5 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.7416, allocations: 306 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.7417, allocations: 54.98 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.7418, allocations: 30.58 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.7427, allocations: 0.5044 MB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.7427, allocations: 3.938 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.7428, allocations: 19.98 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.7428, allocations: 28.19 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007567/0.7436, allocations: 382.8 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.7462, allocations: 2.193 MB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.747, allocations: 267.2 kB / 1.101 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.7474, allocations: 144.1 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.7474, allocations: 6.875 kB / 1.101 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7474, allocations: 41.92 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.7475, allocations: 3.938 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001637/0.7491, allocations: 0.5717 MB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.7492, allocations: 53.91 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.7494, allocations: 227 kB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.7494, allocations: 31.77 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.7496, allocations: 215.3 kB / 1.102 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.7497, allocations: 70.23 kB / 1.102 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.7498, allocations: 49.92 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7499, allocations: 339.1 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.7501, allocations: 96.61 kB / 1.103 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.7505, allocations: 180.1 kB / 1.103 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.751, allocations: 277.7 kB / 1.103 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.751, allocations: 4.562 kB / 1.103 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009424/0.752, allocations: 370.7 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.752, allocations: 6.469 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.752, allocations: 3.75 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.7526, allocations: 110.6 kB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.7528, allocations: 57.44 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.756, allocations: 3.043 MB / 1.107 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.7563, allocations: 31.81 kB / 1.107 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.7563, allocations: 16.56 kB / 1.107 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003633/0.7567, allocations: 221.7 kB / 1.107 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002746/0.757, allocations: 186.1 kB / 1.107 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004635/0.7575, allocations: 267.6 kB / 1.107 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.7575, allocations: 1.188 kB / 1.107 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000801/0.7583, allocations: 354.2 kB / 1.108 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.7583, allocations: 6.219 kB / 1.108 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.7583, allocations: 3.438 kB / 1.108 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.7586, allocations: 82.39 kB / 1.108 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.7589, allocations: 52.66 kB / 1.108 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.7609, allocations: 1.612 MB / 1.11 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.7612, allocations: 34.67 kB / 1.11 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.7612, allocations: 8.625 kB / 1.11 GB, free: 5.629 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.000125/0.7613, allocations: 202.1 kB / 1.11 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.7614, allocations: 24.22 kB / 1.11 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.7614, allocations: 33.75 kB / 1.11 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7615, allocations: 2.156 kB / 1.11 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7615, allocations: 4.453 kB / 1.11 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7615, allocations: 2.781 kB / 1.11 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.7629, allocations: 0.832 MB / 1.111 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7629, allocations: 4 kB / 1.111 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.7631, allocations: 33.22 kB / 1.111 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/0.7635, allocations: 102.1 kB / 1.111 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.7635, allocations: 9.406 kB / 1.111 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.7665, allocations: 3.019 MB / 1.114 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7665, allocations: 2.047 kB / 1.114 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.7674, allocations: 414.8 kB / 1.114 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.7675, allocations: 120.1 kB / 1.114 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.7675, allocations: 11.19 kB / 1.114 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.7677, allocations: 12.7 kB / 1.114 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.7678, allocations: 23.98 kB / 1.114 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.7678, allocations: 3.688 kB / 1.114 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001539/0.768, allocations: 162.8 kB / 1.114 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.768, allocations: 1.281 kB / 1.114 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006665/0.7687, allocations: 172.9 kB / 1.115 GB, free: 1.355 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.001418/0.7701, allocations: 0.9585 MB / 1.116 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.7725, allocations: 0.7514 MB / 1.116 GB, free: 120 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7725, allocations: 4.312 kB / 1.116 GB, free: 116 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.7733, allocations: 380.3 kB / 1.117 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.7738, allocations: 59.75 kB / 1.117 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.7781, allocations: 2.844 MB / 1.119 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.7785, allocations: 0.8096 MB / 1.12 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.7787, allocations: 52.39 kB / 1.12 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.7789, allocations: 91.86 kB / 1.12 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of SimCode: time 3.81e-07/0.7789, allocations: 4 kB / 1.12 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.8109, allocations: 7.362 MB / 1.128 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.8, allocations: 9.203 kB / 1.128 GB, free: 12.26 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)