Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 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.001281/0.001281, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 222.4 MB, free: 4.434 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 73.14 kB / 0.6716 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2211, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02133/0.2425, allocations: 17.18 MB / 0.8003 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009936/0.2524, allocations: 5.881 MB / 0.806 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.2542, allocations: 59.88 kB / 0.8061 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003645/0.2579, allocations: 1.294 MB / 0.8073 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.2606, allocations: 0.8402 MB / 0.8082 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.2648, allocations: 1.332 MB / 0.8095 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005066/0.2699, allocations: 4.28 MB / 0.8136 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008686/0.2786, allocations: 6.911 MB / 0.8204 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.2818, allocations: 1.909 MB / 0.8223 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.2856, allocations: 2.287 MB / 0.8245 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.2867, allocations: 444 kB / 0.8249 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.2887, allocations: 0.8467 MB / 0.8257 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.2906, allocations: 1.723 MB / 0.8274 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003013/0.2936, allocations: 1.759 MB / 0.8291 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007333/0.301, allocations: 6.33 MB / 0.8353 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.301, allocations: 0 / 0.8353 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3011, allocations: 0 / 0.8353 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001599/0.3012, allocations: 4 kB / 0.8353 GB, free: 8.035 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.008254/0.3095, allocations: 3.076 MB / 0.8383 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.3096, allocations: 12.03 kB / 0.8383 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008358/0.3104, allocations: 470.7 kB / 0.8388 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/0.3158, allocations: 1.106 MB / 0.8399 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.3204, allocations: 1.604 MB / 0.8414 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.3207, allocations: 226.3 kB / 0.8416 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.3221, allocations: 296.3 kB / 0.8419 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.335, allocations: 5.3 MB / 0.8471 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.3351, allocations: 7.938 kB / 0.8471 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005137/0.3356, allocations: 124 kB / 0.8472 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003183/0.3359, allocations: 201.1 kB / 0.8474 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.3467, allocations: 4.765 MB / 0.8521 GB, free: 6.645 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03099/0.3777, allocations: 23.18 MB / 0.8747 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/0.3826, allocations: 3.187 MB / 0.8778 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.384, allocations: 0.9212 MB / 0.8787 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.3842, allocations: 101.7 kB / 0.8788 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.3843, allocations: 55.09 kB / 0.8789 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/0.3843, allocations: 0 / 0.8789 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003521/0.3878, allocations: 2.074 MB / 0.8809 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.388, allocations: 222.2 kB / 0.8811 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.3898, allocations: 1.102 MB / 0.8822 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.3899, allocations: 37.7 kB / 0.8822 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.3913, allocations: 1.289 MB / 0.8835 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.3917, allocations: 291.9 kB / 0.8838 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007131/0.3925, allocations: 355.2 kB / 0.8841 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.3927, allocations: 341.9 kB / 0.8844 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.3941, allocations: 0.8908 MB / 0.8853 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.3961, allocations: 1.507 MB / 0.8868 GB, free: 172 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.3995, allocations: 2.362 MB / 0.8891 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/0.3995, allocations: 12 kB / 0.8891 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004958/0.4045, allocations: 2.48 MB / 0.8915 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.4046, allocations: 19.98 kB / 0.8915 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/0.4046, allocations: 16 kB / 0.8915 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-05/0.4047, allocations: 28.69 kB / 0.8916 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4064, allocations: 467.2 kB / 0.892 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.056e-05/0.4065, allocations: 39.86 kB / 0.892 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.4084, allocations: 345.7 kB / 0.8924 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.4086, allocations: 75.98 kB / 0.8925 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003166/0.4118, allocations: 1.905 MB / 0.8943 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/0.4136, allocations: 1.446 MB / 0.8957 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002843/0.4165, allocations: 2.198 MB / 0.8979 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.947e-05/0.4165, allocations: 8 kB / 0.8979 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004057/0.4206, allocations: 2.324 MB / 0.9001 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4206, allocations: 16 kB / 0.9002 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/0.4207, allocations: 20 kB / 0.9002 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/0.4207, allocations: 32 kB / 0.9002 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.4223, allocations: 439.2 kB / 0.9006 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.118e-05/0.4224, allocations: 39.86 kB / 0.9007 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.424, allocations: 290.8 kB / 0.9009 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.4242, allocations: 79.92 kB / 0.901 GB, free: 0.7227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.4246, allocations: 287.6 kB / 0.9013 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.425, allocations: 98.88 kB / 0.9014 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4274, allocations: 1.548 MB / 0.9029 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.4275, allocations: 15.98 kB / 0.9029 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4275, allocations: 4 kB / 0.9029 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4275, allocations: 11.92 kB / 0.9029 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008144/0.4357, allocations: 4.494 MB / 0.9073 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4357, allocations: 0 / 0.9073 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.4368, allocations: 251.5 kB / 0.9076 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/0.4368, allocations: 4 kB / 0.9076 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.4369, allocations: 20 kB / 0.9076 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.4369, allocations: 4 kB / 0.9076 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4369, allocations: 3.938 kB / 0.9076 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.4397, allocations: 1.908 MB / 0.9095 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/0.4404, allocations: 327.6 kB / 0.9098 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.4407, allocations: 20 kB / 0.9098 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.4418, allocations: 119.8 kB / 0.9099 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.442, allocations: 56.47 kB / 0.91 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.4421, allocations: 20 kB / 0.91 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001375/0.4434, allocations: 0.7995 MB / 0.9108 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4434, allocations: 0 / 0.9108 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004383/0.4478, allocations: 1.301 MB / 0.912 GB, free: 5.262 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003109/0.451, allocations: 2.487 MB / 0.9145 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.4243/0.8753, allocations: 3.472 MB / 0.9178 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.8754, allocations: 1.469 kB / 0.9178 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.8767, allocations: 0.6599 MB / 0.9185 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.8786, allocations: 194 kB / 0.9187 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/0.9034, allocations: 15.55 MB / 0.9339 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/0.907, allocations: 2.21 MB / 0.936 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002942/0.91, allocations: 1.095 MB / 0.9371 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.9111, allocations: 0.8376 MB / 0.9379 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/0.9111, allocations: 0.5938 kB / 0.9379 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05215/0.9633, allocations: 31.29 MB / 0.9685 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/9.271, allocations: 12.12 kB / 0.9685 GB, free: 104.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)