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.0009094/0.0009096, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005416/0.005416, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.327/1.327, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.646/1.646, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005297/0.0005299, allocations: 15.88 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01763/0.2204, allocations: 16.51 MB / 0.8041 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00933/0.2297, allocations: 5.851 MB / 0.8098 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.2309, allocations: 43.88 kB / 0.8099 GB, free: 5 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009211/0.2318, allocations: 317.7 kB / 0.8102 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.2337, allocations: 0.7902 MB / 0.8109 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.2357, allocations: 0.873 MB / 0.8118 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006165/0.2418, allocations: 6.487 MB / 0.8181 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.2519, allocations: 7.958 MB / 0.8259 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.2538, allocations: 1.288 MB / 0.8272 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.2565, allocations: 1.928 MB / 0.829 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.2571, allocations: 188 kB / 0.8292 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.2586, allocations: 0.7215 MB / 0.8299 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.26, allocations: 1.403 MB / 0.8313 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.2614, allocations: 1.401 MB / 0.8327 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.2662, allocations: 6.055 MB / 0.8386 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2662, allocations: 0 / 0.8386 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2662, allocations: 0 / 0.8386 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.912e-05/0.2663, allocations: 0 / 0.8386 GB, free: 7.441 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.004641/0.2709, allocations: 2.467 MB / 0.841 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.271, allocations: 8.031 kB / 0.841 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006592/0.2717, allocations: 466.7 kB / 0.8414 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/0.2766, allocations: 1.141 MB / 0.8426 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.2792, allocations: 1.6 MB / 0.8441 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.2793, allocations: 230.3 kB / 0.8443 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/0.2798, allocations: 292.4 kB / 0.8446 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009051/0.2889, allocations: 5.307 MB / 0.8498 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/0.289, allocations: 4 kB / 0.8498 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/0.2893, allocations: 127.9 kB / 0.8499 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.2896, allocations: 209.1 kB / 0.8501 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008125/0.2977, allocations: 4.77 MB / 0.8548 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.3226, allocations: 23.21 MB / 0.8775 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/0.3271, allocations: 3.183 MB / 0.8806 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.3284, allocations: 0.9056 MB / 0.8814 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.3286, allocations: 113.7 kB / 0.8816 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3286, allocations: 43.2 kB / 0.8816 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/0.3286, allocations: 0 / 0.8816 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003042/0.3317, allocations: 2.093 MB / 0.8836 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.3318, allocations: 222.6 kB / 0.8839 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.3332, allocations: 1.102 MB / 0.8849 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.3333, allocations: 41.7 kB / 0.885 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.3341, allocations: 1.285 MB / 0.8862 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.3343, allocations: 299.9 kB / 0.8865 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.3345, allocations: 129.6 kB / 0.8866 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3346, allocations: 334 kB / 0.887 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.3359, allocations: 0.8939 MB / 0.8878 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.3375, allocations: 1.515 MB / 0.8893 GB, free: 316 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.3403, allocations: 2.377 MB / 0.8916 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.3403, allocations: 8 kB / 0.8916 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003562/0.3439, allocations: 2.504 MB / 0.8941 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.3443, allocations: 0.6387 MB / 0.8947 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3444, allocations: 20 kB / 0.8947 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.3444, allocations: 31.94 kB / 0.8948 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.3459, allocations: 463.2 kB / 0.8952 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.346, allocations: 43.8 kB / 0.8952 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3474, allocations: 345.8 kB / 0.8956 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3475, allocations: 75.98 kB / 0.8956 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.3475, allocations: 4 kB / 0.8956 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002866/0.3504, allocations: 2.226 MB / 0.8978 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.3504, allocations: 20 kB / 0.8978 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3504, allocations: 32.03 kB / 0.8979 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.3517, allocations: 443.2 kB / 0.8983 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/0.3518, allocations: 39.86 kB / 0.8983 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3529, allocations: 242.7 kB / 0.8986 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.353, allocations: 75.98 kB / 0.8986 GB, free: 6.215 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.001661/0.3547, allocations: 1.281 MB / 0.8999 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.355, allocations: 98.78 kB / 0.9 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.3573, allocations: 1.571 MB / 0.9015 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.3573, allocations: 12 kB / 0.9015 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3574, allocations: 0 / 0.9015 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.3574, allocations: 7.984 kB / 0.9015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.3633, allocations: 4.506 MB / 0.9059 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.3634, allocations: 4 kB / 0.9059 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.3643, allocations: 251.6 kB / 0.9062 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.3644, allocations: 4 kB / 0.9062 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.3644, allocations: 16 kB / 0.9062 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3644, allocations: 11.94 kB / 0.9062 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3644, allocations: 4 kB / 0.9062 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.3665, allocations: 1.915 MB / 0.9081 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.367, allocations: 359.6 kB / 0.9084 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3672, allocations: 16 kB / 0.9084 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/0.368, allocations: 127.8 kB / 0.9086 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3682, allocations: 56.52 kB / 0.9086 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.3682, allocations: 27.83 kB / 0.9086 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000978/0.3692, allocations: 0.7956 MB / 0.9094 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3692, allocations: 4 kB / 0.9094 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003255/0.3725, allocations: 1.301 MB / 0.9107 GB, free: 9.668 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.00243/0.3749, allocations: 2.495 MB / 0.9131 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004369/0.3793, allocations: 2.983 MB / 0.916 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3793, allocations: 8.062 kB / 0.916 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.3802, allocations: 0.6594 MB / 0.9167 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3819, allocations: 192.9 kB / 0.9169 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3679/0.7498, allocations: 16.78 MB / 0.9333 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/0.752, allocations: 2.21 MB / 0.9354 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00267/0.7547, allocations: 1.096 MB / 0.9365 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.7558, allocations: 0.8362 MB / 0.9373 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.473e-06/0.7558, allocations: 0 / 0.9373 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.8037, allocations: 30.19 MB / 0.9668 GB, free: 106 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.8038, allocations: 227.2 kB / 0.967 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.048, allocations: 0 / 0.967 GB, free: 105.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --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)