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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.908/1.908, allocations: 292.6 MB / 307.5 MB, free: 5.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002269/0.002269, allocations: 192 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 98.02 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.256, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6641/0.9201, allocations: 173.5 MB / 1.158 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.9206, allocations: 101 kB / 1.158 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2899/1.21, allocations: 105.3 MB / 1.261 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.356e-06/1.21, allocations: 3.938 kB / 1.261 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001332/1.211, allocations: 60 kB / 1.261 GB, free: 14.55 MB / 0.8386 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.007368/1.218, allocations: 2.53 MB / 1.263 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.218, allocations: 16.02 kB / 1.263 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001556/1.22, allocations: 466.5 kB / 1.264 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/1.226, allocations: 1.007 MB / 1.265 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005033/1.231, allocations: 1.649 MB / 1.266 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/1.231, allocations: 230 kB / 1.267 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/1.232, allocations: 292 kB / 1.267 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/1.243, allocations: 4.788 MB / 1.272 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/1.243, allocations: 11.94 kB / 1.272 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/1.243, allocations: 124 kB / 1.272 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/1.244, allocations: 189.1 kB / 1.272 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0079/1.251, allocations: 4.23 MB / 1.276 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/1.281, allocations: 23.11 MB / 1.299 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/1.286, allocations: 3.176 MB / 1.302 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/1.286, allocations: 97.73 kB / 1.302 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/1.286, allocations: 47.16 kB / 1.302 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 2.925e-06/1.286, allocations: 4 kB / 1.302 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.003338/1.289, allocations: 2.098 MB / 1.304 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.289, allocations: 222.2 kB / 1.304 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.291, allocations: 0.9843 MB / 1.305 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.291, allocations: 41.7 kB / 1.305 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/1.292, allocations: 1.288 MB / 1.306 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/1.292, allocations: 299.8 kB / 1.307 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/1.292, allocations: 32 kB / 1.307 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.292, allocations: 410.7 kB / 1.307 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/1.294, allocations: 0.8861 MB / 1.308 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/1.295, allocations: 1.511 MB / 1.309 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.297, allocations: 1.186 MB / 1.311 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.297, allocations: 4 kB / 1.311 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003746/1.301, allocations: 2.5 MB / 1.313 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002916/1.303, allocations: 7.495 MB / 1.32 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/1.304, allocations: 24 kB / 1.32 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.992e-05/1.304, allocations: 31.94 kB / 1.32 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.305, allocations: 467.2 kB / 1.321 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.762e-05/1.305, allocations: 39.86 kB / 1.321 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.307, allocations: 349.8 kB / 1.321 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.307, allocations: 83.92 kB / 1.321 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.307, allocations: 6.031 kB / 1.321 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003476/1.311, allocations: 2.23 MB / 1.323 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-05/1.311, allocations: 20 kB / 1.323 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/1.311, allocations: 28 kB / 1.324 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.312, allocations: 447.2 kB / 1.324 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.565e-05/1.312, allocations: 40.23 kB / 1.324 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.314, allocations: 258.5 kB / 1.324 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.314, allocations: 83.97 kB / 1.324 GB, free: 9.859 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002325/1.316, allocations: 1.269 MB / 1.326 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/1.317, allocations: 102.8 kB / 1.326 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/1.32, allocations: 1.587 MB / 1.327 GB, free: 6.867 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.32, allocations: 12 kB / 1.327 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/1.32, allocations: 0 / 1.327 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.32, allocations: 11.94 kB / 1.327 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007536/1.327, allocations: 4.247 MB / 1.331 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.327, allocations: 0 / 1.331 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.328, allocations: 243.6 kB / 1.332 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.328, allocations: 4 kB / 1.332 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/1.328, allocations: 20 kB / 1.332 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.328, allocations: 4 kB / 1.332 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.328, allocations: 0 / 1.332 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/1.331, allocations: 2.007 MB / 1.334 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/1.332, allocations: 367.5 kB / 1.334 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.332, allocations: 12 kB / 1.334 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/1.333, allocations: 123.8 kB / 1.334 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.333, allocations: 60.58 kB / 1.334 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/1.333, allocations: 20 kB / 1.334 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001105/1.334, allocations: 0.7839 MB / 1.335 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.71e-07/1.334, allocations: 0 / 1.335 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003464/1.338, allocations: 1.364 MB / 1.336 GB, free: 13.45 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002714/1.34, allocations: 2.996 MB / 1.339 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004559/1.345, allocations: 3.001 MB / 1.342 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.345, allocations: 5.812 kB / 1.342 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/1.346, allocations: 0.6753 MB / 1.343 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/1.347, allocations: 169.4 kB / 1.343 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4367/1.784, allocations: 23.89 MB / 1.366 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/1.786, allocations: 2.258 MB / 1.368 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002695/1.789, allocations: 1.105 MB / 1.37 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.79, allocations: 0.8287 MB / 1.37 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/1.79, allocations: 0 / 1.37 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/1.849, allocations: 30.84 MB / 1.4 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.849, allocations: 207.1 kB / 1.401 GB, free: 210.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/4.457, allocations: 3.25 kB / 1.401 GB, free: 210.3 MB / 0.9323 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/linux/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)