Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 181.8 kB / 325.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006509/0.0006509, allocations: 95.78 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 11.53 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01204/0.1527, allocations: 16.76 MB / 0.9126 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006256/0.1589, allocations: 5.916 MB / 0.9183 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006744/0.1596, allocations: 43.88 kB / 0.9184 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.1618, allocations: 1.205 MB / 0.9196 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.1629, allocations: 0.7785 MB / 0.9203 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.1649, allocations: 1.237 MB / 0.9215 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.1682, allocations: 6.491 MB / 0.9279 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006427/0.1746, allocations: 7.57 MB / 0.9353 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.1759, allocations: 1.335 MB / 0.9366 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.1774, allocations: 1.92 MB / 0.9384 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.1777, allocations: 195.9 kB / 0.9386 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.1786, allocations: 0.7254 MB / 0.9393 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.1793, allocations: 1.392 MB / 0.9407 GB, free: 22.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007904/0.1801, allocations: 1.38 MB / 0.942 GB, free: 20.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.183, allocations: 6.047 MB / 0.948 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.183, allocations: 0 / 0.948 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.273e-06/0.183, allocations: 4 kB / 0.948 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.376e-05/0.1831, allocations: 0 / 0.948 GB, free: 14.85 MB / 0.6042 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.003204/0.1863, allocations: 2.486 MB / 0.9504 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1863, allocations: 8.031 kB / 0.9504 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004026/0.1867, allocations: 462.7 kB / 0.9508 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/0.1908, allocations: 1.137 MB / 0.9519 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.1927, allocations: 1.6 MB / 0.9535 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.1928, allocations: 230.3 kB / 0.9537 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.1931, allocations: 288.4 kB / 0.954 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005524/0.1987, allocations: 5.311 MB / 0.9592 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.1987, allocations: 3.938 kB / 0.9592 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.199, allocations: 124 kB / 0.9593 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.1991, allocations: 205.1 kB / 0.9595 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/0.2048, allocations: 4.774 MB / 0.9642 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.2257, allocations: 23.2 MB / 0.9868 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.2296, allocations: 3.195 MB / 0.9899 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.2307, allocations: 0.9017 MB / 0.9908 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.2308, allocations: 113.7 kB / 0.9909 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2309, allocations: 43.16 kB / 0.991 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 2.554e-06/0.2309, allocations: 0 / 0.991 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.002739/0.2336, allocations: 2.09 MB / 0.993 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.2337, allocations: 226.2 kB / 0.9932 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2349, allocations: 1.102 MB / 0.9943 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.2349, allocations: 41.7 kB / 0.9944 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000635/0.2356, allocations: 1.281 MB / 0.9956 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.2358, allocations: 299.9 kB / 0.9959 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.236, allocations: 129.6 kB / 0.996 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2361, allocations: 337.9 kB / 0.9963 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.2372, allocations: 0.8939 MB / 0.9972 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.2386, allocations: 1.515 MB / 0.9987 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.2412, allocations: 2.373 MB / 1.001 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.2412, allocations: 4 kB / 1.001 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003164/0.2444, allocations: 2.492 MB / 1.003 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003551/0.2447, allocations: 0.6506 MB / 1.004 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.2447, allocations: 20 kB / 1.004 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.2448, allocations: 31.94 kB / 1.004 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.2462, allocations: 471.2 kB / 1.005 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.2462, allocations: 39.86 kB / 1.005 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.2475, allocations: 341.8 kB / 1.005 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2476, allocations: 79.98 kB / 1.005 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.2476, allocations: 4 kB / 1.005 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002702/0.2503, allocations: 2.23 MB / 1.007 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2503, allocations: 16 kB / 1.007 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2503, allocations: 32.09 kB / 1.007 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2516, allocations: 439.2 kB / 1.008 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.2516, allocations: 39.86 kB / 1.008 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/0.2525, allocations: 250.6 kB / 1.008 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.2526, allocations: 79.92 kB / 1.008 GB, free: 13.62 MB / 0.6667 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.001402/0.254, allocations: 1.281 MB / 1.009 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.2543, allocations: 102.8 kB / 1.009 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.2563, allocations: 1.571 MB / 1.011 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.2563, allocations: 8 kB / 1.011 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2564, allocations: 4 kB / 1.011 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2564, allocations: 7.922 kB / 1.011 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.2617, allocations: 4.509 MB / 1.015 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2617, allocations: 4 kB / 1.015 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/0.2625, allocations: 243.6 kB / 1.016 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.2626, allocations: 8 kB / 1.016 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.2626, allocations: 16 kB / 1.016 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2626, allocations: 11.98 kB / 1.016 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2626, allocations: 7.938 kB / 1.016 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.2644, allocations: 1.915 MB / 1.017 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.2648, allocations: 323.6 kB / 1.018 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2649, allocations: 16 kB / 1.018 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.2657, allocations: 127.8 kB / 1.018 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2658, allocations: 60.47 kB / 1.018 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.2659, allocations: 23.98 kB / 1.018 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008385/0.2667, allocations: 0.7917 MB / 1.019 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2667, allocations: 0 / 1.019 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002332/0.2691, allocations: 1.301 MB / 1.02 GB, free: 1.113 MB / 0.6667 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.002084/0.2712, allocations: 2.492 MB / 1.022 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003552/0.2747, allocations: 2.991 MB / 1.025 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2748, allocations: 0 / 1.025 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.2755, allocations: 0.6594 MB / 1.026 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.2769, allocations: 201.5 kB / 1.026 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.2959, allocations: 16.76 MB / 1.043 GB, free: 9.219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.298, allocations: 2.198 MB / 1.045 GB, free: 6.984 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00228/0.3003, allocations: 1.105 MB / 1.046 GB, free: 5.875 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/0.3012, allocations: 0.836 MB / 1.047 GB, free: 5.039 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/0.3013, allocations: 0 / 1.047 GB, free: 5.039 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8704/1.172, allocations: 30.19 MB / 1.076 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.172, allocations: 240.2 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.924, allocations: 0.5625 kB / 1.076 GB, free: 136.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)