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.00108/0.00108, allocations: 109.4 kB / 15.69 MB, free: 128 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.001131/0.001131, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.35/1.35, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.624/1.624, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001645/0.001645, allocations: 73.88 kB / 0.6718 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2166, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02002/0.2367, allocations: 17.19 MB / 0.8004 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009984/0.2467, allocations: 5.885 MB / 0.8062 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.2482, allocations: 51.88 kB / 0.8062 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003586/0.2519, allocations: 1.287 MB / 0.8075 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.2543, allocations: 0.8402 MB / 0.8083 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.2579, allocations: 1.331 MB / 0.8096 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004762/0.2627, allocations: 4.287 MB / 0.8138 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008799/0.2715, allocations: 6.919 MB / 0.8206 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.2747, allocations: 1.913 MB / 0.8224 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.2785, allocations: 2.279 MB / 0.8246 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.2799, allocations: 448 kB / 0.8251 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.2823, allocations: 0.8506 MB / 0.8259 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002576/0.2849, allocations: 1.723 MB / 0.8276 GB, free: 4 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.2889, allocations: 1.759 MB / 0.8293 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007382/0.2963, allocations: 6.377 MB / 0.8355 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.2963, allocations: 0 / 0.8355 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2963, allocations: 0 / 0.8355 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002005/0.2965, allocations: 4 kB / 0.8355 GB, free: 7.84 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.009123/0.3057, allocations: 3.076 MB / 0.8385 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.3057, allocations: 12.03 kB / 0.8386 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/0.3072, allocations: 466.7 kB / 0.839 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.313, allocations: 1.113 MB / 0.8401 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.3167, allocations: 1.631 MB / 0.8417 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.3169, allocations: 230.3 kB / 0.8419 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.318, allocations: 288.4 kB / 0.8422 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.3285, allocations: 5.303 MB / 0.8473 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/0.3286, allocations: 0 / 0.8473 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004067/0.329, allocations: 128 kB / 0.8475 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.3293, allocations: 201.1 kB / 0.8477 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008369/0.3376, allocations: 4.754 MB / 0.8523 GB, free: 6.434 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.3654, allocations: 23.01 MB / 0.8748 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.3699, allocations: 3.179 MB / 0.8779 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3713, allocations: 0.9289 MB / 0.8788 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.3715, allocations: 101.7 kB / 0.8789 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3715, allocations: 51.16 kB / 0.8789 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.3715, allocations: 0 / 0.8789 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003288/0.3748, allocations: 2.078 MB / 0.881 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.375, allocations: 214.3 kB / 0.8812 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.3765, allocations: 1.102 MB / 0.8822 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.3767, allocations: 38.17 kB / 0.8823 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/0.3775, allocations: 1.292 MB / 0.8835 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.3779, allocations: 295.9 kB / 0.8838 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005912/0.3785, allocations: 351.1 kB / 0.8842 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3787, allocations: 337.9 kB / 0.8845 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.38, allocations: 0.8947 MB / 0.8854 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.3818, allocations: 1.511 MB / 0.8868 GB, free: 124 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.3848, allocations: 2.362 MB / 0.8891 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.3848, allocations: 8 kB / 0.8891 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004317/0.3892, allocations: 2.484 MB / 0.8916 GB, free: 11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.3892, allocations: 16 kB / 0.8916 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.3893, allocations: 20.09 kB / 0.8916 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.54e-05/0.3893, allocations: 28 kB / 0.8916 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.391, allocations: 467.2 kB / 0.8921 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.012e-05/0.3911, allocations: 39.92 kB / 0.8921 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.3929, allocations: 345.7 kB / 0.8924 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.3931, allocations: 79.97 kB / 0.8925 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003049/0.3962, allocations: 1.906 MB / 0.8944 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001611/0.3978, allocations: 1.442 MB / 0.8958 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002557/0.4004, allocations: 2.198 MB / 0.8979 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.711e-05/0.4005, allocations: 8 kB / 0.8979 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003588/0.4041, allocations: 2.32 MB / 0.9002 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4041, allocations: 16 kB / 0.9002 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.4041, allocations: 19.94 kB / 0.9002 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.4042, allocations: 32 kB / 0.9003 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.4056, allocations: 432 kB / 0.9007 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-05/0.4056, allocations: 47.84 kB / 0.9007 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4071, allocations: 290.5 kB / 0.901 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.4073, allocations: 87.86 kB / 0.9011 GB, free: 0.668 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.0004092/0.4077, allocations: 279.7 kB / 0.9014 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.408, allocations: 94.88 kB / 0.9015 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.4103, allocations: 1.556 MB / 0.903 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4103, allocations: 12 kB / 0.903 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4103, allocations: 0 / 0.903 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.4104, allocations: 15.91 kB / 0.903 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006638/0.417, allocations: 4.473 MB / 0.9074 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.417, allocations: 0 / 0.9074 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/0.418, allocations: 259.5 kB / 0.9076 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.418, allocations: 4 kB / 0.9076 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.4181, allocations: 15.94 kB / 0.9076 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.4181, allocations: 4 kB / 0.9076 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.4181, allocations: 8 kB / 0.9076 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.4202, allocations: 1.912 MB / 0.9095 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.4208, allocations: 319.6 kB / 0.9098 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.421, allocations: 20 kB / 0.9098 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.4219, allocations: 123.8 kB / 0.91 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.422, allocations: 52.52 kB / 0.91 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.4221, allocations: 24 kB / 0.91 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001033/0.4231, allocations: 0.7956 MB / 0.9108 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4232, allocations: 4 kB / 0.9108 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003322/0.4265, allocations: 1.301 MB / 0.9121 GB, free: 5.223 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.002438/0.4289, allocations: 2.484 MB / 0.9145 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.361/0.79, allocations: 2.982 MB / 0.9174 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.79, allocations: 0 / 0.9174 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.7913, allocations: 0.6576 MB / 0.9181 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.793, allocations: 191.6 kB / 0.9182 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.8168, allocations: 15.14 MB / 0.933 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.8199, allocations: 2.214 MB / 0.9352 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003143/0.8231, allocations: 1.101 MB / 0.9363 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.8245, allocations: 0.8367 MB / 0.9371 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.442e-06/0.8245, allocations: 0 / 0.9371 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/0.8801, allocations: 31.3 MB / 0.9676 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.363/10.24, allocations: 15.86 kB / 0.9677 GB, free: 108.6 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)