Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.798/1.798, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001103/0.001103, allocations: 180.9 kB / 366.7 MB, free: 1.691 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.58/1.58, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008209/0.0008209, allocations: 85.62 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.593e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6196, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.8422, allocations: 160.2 MB / 1.13 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004402/0.8427, allocations: 96.58 kB / 1.13 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05634/0.8991, allocations: 14.1 MB / 1.144 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8991, allocations: 0 / 1.144 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.408e-05/0.8992, allocations: 8 kB / 1.144 GB, free: 7.609 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009798/0.9002, allocations: 470.2 kB / 1.144 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.9002, allocations: 12.03 kB / 1.144 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.9014, allocations: 79.62 kB / 1.144 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.9019, allocations: 238.2 kB / 1.144 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.9019, allocations: 8 kB / 1.144 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.902, allocations: 11.94 kB / 1.144 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005245/0.9025, allocations: 180.6 kB / 1.145 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.9032, allocations: 291.5 kB / 1.145 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.9032, allocations: 3.938 kB / 1.145 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.9033, allocations: 3.984 kB / 1.145 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.9033, allocations: 16 kB / 1.145 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.9058, allocations: 1.582 MB / 1.146 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.9068, allocations: 410.7 kB / 1.147 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.907, allocations: 81.67 kB / 1.147 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.9072, allocations: 85.11 kB / 1.147 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.9073, allocations: 38.78 kB / 1.147 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 4.619e-06/0.9073, allocations: 0 / 1.147 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0009834/0.9083, allocations: 256.4 kB / 1.147 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.9084, allocations: 77.11 kB / 1.147 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.9086, allocations: 143.6 kB / 1.148 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.9087, allocations: 29.8 kB / 1.148 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.9088, allocations: 155.7 kB / 1.148 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.9089, allocations: 39.36 kB / 1.148 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.9089, allocations: 0 / 1.148 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.9091, allocations: 326.8 kB / 1.148 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.9093, allocations: 71.97 kB / 1.148 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.9096, allocations: 151.5 kB / 1.148 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.91, allocations: 107.9 kB / 1.148 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.91, allocations: 0 / 1.148 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007988/0.9109, allocations: 261.3 kB / 1.149 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006692/0.9115, allocations: 0.964 MB / 1.15 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.9116, allocations: 11.94 kB / 1.15 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/0.9116, allocations: 4 kB / 1.15 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.912, allocations: 58.23 kB / 1.15 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9121, allocations: 3.938 kB / 1.15 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.9123, allocations: 23.81 kB / 1.15 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.9124, allocations: 8 kB / 1.15 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9124, allocations: 4 kB / 1.15 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006099/0.913, allocations: 205 kB / 1.15 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.913, allocations: 3.984 kB / 1.15 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.9131, allocations: 4 kB / 1.15 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.9134, allocations: 51.91 kB / 1.15 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.9134, allocations: 1.25 kB / 1.15 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.9136, allocations: 11.98 kB / 1.15 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.9136, allocations: 8 kB / 1.15 GB, free: 0.6992 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001352/0.9138, allocations: 116.9 kB / 1.15 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006165/0.9144, allocations: 193.5 kB / 1.15 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.9145, allocations: 11.91 kB / 1.15 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.9151, allocations: 206.9 kB / 1.15 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9152, allocations: 2.875 kB / 1.15 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.9152, allocations: 4 kB / 1.15 GB, free: 164 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9152, allocations: 0 / 1.15 GB, free: 164 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.9172, allocations: 0.919 MB / 1.151 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.9172, allocations: 0 / 1.151 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.9174, allocations: 35.97 kB / 1.151 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.9175, allocations: 7.953 kB / 1.151 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.9175, allocations: 4 kB / 1.151 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.9175, allocations: 7.938 kB / 1.151 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.9175, allocations: 4 kB / 1.151 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.9184, allocations: 0.5787 MB / 1.152 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.9186, allocations: 109 kB / 1.152 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.9186, allocations: 4 kB / 1.152 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.919, allocations: 19.97 kB / 1.152 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.919, allocations: 23.88 kB / 1.152 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.9191, allocations: 7.938 kB / 1.152 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001541/0.9192, allocations: 128 kB / 1.152 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9193, allocations: 1.969 kB / 1.152 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009866/0.9203, allocations: 71.98 kB / 1.152 GB, free: 14 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001708/0.922, allocations: 2.024 MB / 1.154 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.9227, allocations: 281 kB / 1.155 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9227, allocations: 0 / 1.155 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.9229, allocations: 73.16 kB / 1.155 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.9235, allocations: 29.28 kB / 1.155 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.925, allocations: 422 kB / 1.155 GB, free: 11 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.9255, allocations: 0.7529 MB / 1.156 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004002/0.9259, allocations: 81.73 kB / 1.156 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.926, allocations: 47.42 kB / 1.156 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of SimCode: time 4.81e-07/0.926, allocations: 0 / 1.156 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.9609, allocations: 3.049 MB / 1.159 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.9612, allocations: 179.4 kB / 1.159 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.723, allocations: 1.25 kB / 1.159 GB, free: 6.91 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)