Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009474/0.0009474, allocations: 98.19 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.005773/0.005773, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.292/1.292, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 270.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8882/0.8882, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004277, allocations: 13.25 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 88.55 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01733/0.1738, allocations: 16.48 MB / 0.7013 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008932/0.1828, allocations: 5.797 MB / 0.707 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.1842, allocations: 48.69 kB / 0.707 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008625/0.1851, allocations: 325.7 kB / 0.7074 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.187, allocations: 0.785 MB / 0.7081 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.1894, allocations: 0.8768 MB / 0.709 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006022/0.1954, allocations: 6.491 MB / 0.7153 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.2058, allocations: 7.956 MB / 0.7231 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.208, allocations: 1.284 MB / 0.7243 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.2109, allocations: 1.928 MB / 0.7262 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.2115, allocations: 192 kB / 0.7264 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.213, allocations: 0.7215 MB / 0.7271 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.2145, allocations: 1.38 MB / 0.7285 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.2159, allocations: 1.409 MB / 0.7298 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/0.2211, allocations: 6.051 MB / 0.7357 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2212, allocations: 8 kB / 0.7358 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2212, allocations: 0 / 0.7358 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.51e-05/0.2213, allocations: 0 / 0.7358 GB, free: 11.01 MB / 0.5294 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.004361/0.2256, allocations: 2.467 MB / 0.7382 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2257, allocations: 8.031 kB / 0.7382 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005707/0.2263, allocations: 474.6 kB / 0.7386 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.2311, allocations: 1.137 MB / 0.7397 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.2334, allocations: 1.604 MB / 0.7413 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2336, allocations: 230.3 kB / 0.7415 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.2341, allocations: 288.4 kB / 0.7418 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00813/0.2422, allocations: 5.307 MB / 0.747 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.2423, allocations: 0 / 0.747 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.2427, allocations: 131.9 kB / 0.7471 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.2429, allocations: 205.1 kB / 0.7473 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007169/0.2501, allocations: 4.779 MB / 0.752 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.2738, allocations: 23.21 MB / 0.7746 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3123/0.5861, allocations: 3.179 MB / 0.7777 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.5878, allocations: 0.9063 MB / 0.7786 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.588, allocations: 106.5 kB / 0.7787 GB, free: 85.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.588, allocations: 49.52 kB / 0.7788 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 4.649e-06/0.588, allocations: 2.875 kB / 0.7788 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003559/0.5916, allocations: 2.091 MB / 0.7808 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.5917, allocations: 221.6 kB / 0.781 GB, free: 85.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.5933, allocations: 1.099 MB / 0.7821 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/0.5933, allocations: 45.17 kB / 0.7821 GB, free: 84.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000665/0.594, allocations: 1.282 MB / 0.7834 GB, free: 83.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.5942, allocations: 305.5 kB / 0.7837 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.5944, allocations: 129.1 kB / 0.7838 GB, free: 83.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.5945, allocations: 336.3 kB / 0.7841 GB, free: 83.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.5957, allocations: 0.8873 MB / 0.785 GB, free: 82.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.5972, allocations: 1.521 MB / 0.7865 GB, free: 81.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.5998, allocations: 2.374 MB / 0.7888 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.5999, allocations: 5.25 kB / 0.7888 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003712/0.6036, allocations: 2.497 MB / 0.7912 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000406/0.604, allocations: 0.6452 MB / 0.7919 GB, free: 78.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.604, allocations: 17.94 kB / 0.7919 GB, free: 78.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/0.6041, allocations: 27.59 kB / 0.7919 GB, free: 78.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.6057, allocations: 466.5 kB / 0.7924 GB, free: 78.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.153e-05/0.6057, allocations: 42.98 kB / 0.7924 GB, free: 78.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.6072, allocations: 342.4 kB / 0.7927 GB, free: 78.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.6074, allocations: 78.92 kB / 0.7928 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.6074, allocations: 3.531 kB / 0.7928 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/0.6104, allocations: 2.224 MB / 0.795 GB, free: 77.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.6105, allocations: 22.22 kB / 0.795 GB, free: 77.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.6105, allocations: 26.86 kB / 0.795 GB, free: 77.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.6119, allocations: 450.7 kB / 0.7955 GB, free: 77.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-05/0.6119, allocations: 38.64 kB / 0.7955 GB, free: 77.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.6131, allocations: 248.2 kB / 0.7957 GB, free: 77.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6132, allocations: 76.45 kB / 0.7958 GB, free: 77.46 MB / 0.5606 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.002033/0.6153, allocations: 1.282 MB / 0.7971 GB, free: 76.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.6156, allocations: 101.3 kB / 0.7972 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.6181, allocations: 1.563 MB / 0.7987 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.6182, allocations: 12.11 kB / 0.7987 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.6182, allocations: 6.422 kB / 0.7987 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.6182, allocations: 6.078 kB / 0.7987 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/0.6243, allocations: 4.512 MB / 0.8031 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6243, allocations: 1.281 kB / 0.8031 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/0.6253, allocations: 246 kB / 0.8033 GB, free: 74.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.6254, allocations: 4.469 kB / 0.8033 GB, free: 74.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.6254, allocations: 23.38 kB / 0.8034 GB, free: 74.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.6254, allocations: 4.562 kB / 0.8034 GB, free: 74.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6254, allocations: 10.09 kB / 0.8034 GB, free: 74.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.6274, allocations: 1.915 MB / 0.8053 GB, free: 73.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.628, allocations: 366 kB / 0.8056 GB, free: 72.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6281, allocations: 18.48 kB / 0.8056 GB, free: 72.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008582/0.629, allocations: 125.8 kB / 0.8057 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.6291, allocations: 55.3 kB / 0.8058 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.6292, allocations: 24.84 kB / 0.8058 GB, free: 72.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000978/0.6301, allocations: 0.7978 MB / 0.8066 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6301, allocations: 0 / 0.8066 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003148/0.6333, allocations: 1.303 MB / 0.8079 GB, free: 72.21 MB / 0.5606 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.002053/0.6354, allocations: 2.487 MB / 0.8103 GB, free: 70.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003691/0.6391, allocations: 2.987 MB / 0.8132 GB, free: 69.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6391, allocations: 4.125 kB / 0.8132 GB, free: 69.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006829/0.6398, allocations: 0.6566 MB / 0.8139 GB, free: 68.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6413, allocations: 190.2 kB / 0.814 GB, free: 68.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.6586, allocations: 16.8 MB / 0.8304 GB, free: 53.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.6602, allocations: 2.204 MB / 0.8326 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002096/0.6623, allocations: 1.096 MB / 0.8337 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008176/0.6632, allocations: 0.839 MB / 0.8345 GB, free: 49.47 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.6632, allocations: 0 / 0.8345 GB, free: 49.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7732/1.436, allocations: 30.2 MB / 0.864 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.437, allocations: 245.5 kB / 0.8642 GB, free: 19.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/4.346, allocations: 0 / 0.8642 GB, free: 19.34 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)