Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.00146/0.001459, allocations: 188.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001075/0.001074, allocations: 95.73 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.509e-05, allocations: 0 / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8145, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/1.1, allocations: 172.1 MB / 1.131 GB, free: 288 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/1.1, allocations: 103.9 kB / 1.132 GB, free: 184 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1037/1.204, allocations: 24.18 MB / 1.155 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.993e-06/1.204, allocations: 1.969 kB / 1.155 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.85e-05/1.204, allocations: 12 kB / 1.155 GB, free: 7.918 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001563/1.205, allocations: 0.6513 MB / 1.156 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.205, allocations: 12.03 kB / 1.156 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.207, allocations: 135.4 kB / 1.156 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/1.208, allocations: 331.1 kB / 1.156 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.208, allocations: 16 kB / 1.156 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/1.208, allocations: 24 kB / 1.156 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/1.209, allocations: 384.6 kB / 1.157 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.211, allocations: 0.5512 MB / 1.157 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.211, allocations: 0 / 1.157 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/1.211, allocations: 4 kB / 1.157 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/1.211, allocations: 28.77 kB / 1.157 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/1.216, allocations: 3.354 MB / 1.161 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.218, allocations: 353 kB / 1.161 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/1.218, allocations: 165.7 kB / 1.161 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/1.218, allocations: 3.984 kB / 1.161 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.582e-05/1.218, allocations: 42.52 kB / 1.161 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 3.166e-06/1.218, allocations: 0 / 1.161 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.00296/1.221, allocations: 0.6635 MB / 1.162 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.221, allocations: 81.11 kB / 1.162 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/1.222, allocations: 261.1 kB / 1.162 GB, free: 420 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/1.222, allocations: 29.64 kB / 1.162 GB, free: 384 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/1.222, allocations: 259.2 kB / 1.162 GB, free: 120 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.222, allocations: 90.66 kB / 1.162 GB, free: 28 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/1.222, allocations: 0 / 1.162 GB, free: 28 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.222, allocations: 346.9 kB / 1.163 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/1.223, allocations: 165.1 kB / 1.163 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/1.223, allocations: 317 kB / 1.163 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008251/1.224, allocations: 239.8 kB / 1.163 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.224, allocations: 7.938 kB / 1.163 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003064/1.227, allocations: 0.7333 MB / 1.164 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000951/1.228, allocations: 2.086 MB / 1.166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.228, allocations: 4 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/1.23, allocations: 253.3 kB / 1.166 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/1.231, allocations: 87.88 kB / 1.166 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/1.233, allocations: 1.269 MB / 1.168 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/1.234, allocations: 31.81 kB / 1.168 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/1.234, allocations: 23.98 kB / 1.168 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/1.234, allocations: 9.984 kB / 1.168 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/1.235, allocations: 447.5 kB / 1.168 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.235, allocations: 4 kB / 1.168 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.235, allocations: 8 kB / 1.168 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/1.236, allocations: 105.3 kB / 1.168 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.236, allocations: 15.92 kB / 1.168 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/1.237, allocations: 16.55 kB / 1.168 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/1.237, allocations: 16 kB / 1.168 GB, free: 9.574 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002246/1.237, allocations: 128.8 kB / 1.169 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002918/1.24, allocations: 0.6209 MB / 1.169 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.24, allocations: 35.58 kB / 1.169 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/1.243, allocations: 0.6607 MB / 1.17 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.243, allocations: 0 / 1.17 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.243, allocations: 7.094 kB / 1.17 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.243, allocations: 3.984 kB / 1.17 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/1.245, allocations: 0.5862 MB / 1.17 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.245, allocations: 8.031 kB / 1.17 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/1.245, allocations: 47.86 kB / 1.17 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/1.248, allocations: 405.2 kB / 1.171 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/1.248, allocations: 0 / 1.171 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005969/1.254, allocations: 3.335 MB / 1.174 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.254, allocations: 4.062 kB / 1.174 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/1.257, allocations: 0.8612 MB / 1.175 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/1.258, allocations: 140.6 kB / 1.175 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/1.258, allocations: 0 / 1.175 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/1.258, allocations: 35.94 kB / 1.175 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.259, allocations: 19.97 kB / 1.175 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.259, allocations: 8 kB / 1.175 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003186/1.259, allocations: 198 kB / 1.175 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.31e-07/1.259, allocations: 4 kB / 1.175 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001187/1.26, allocations: 172.1 kB / 1.175 GB, free: 1.938 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003876/1.264, allocations: 1.637 MB / 1.177 GB, free: 252 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00235/1.266, allocations: 0.6712 MB / 1.178 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.266, allocations: 0 / 1.178 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.268, allocations: 459.6 kB / 1.178 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/1.268, allocations: 55.44 kB / 1.178 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.271, allocations: 0.6275 MB / 1.179 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/1.271, allocations: 0.8509 MB / 1.18 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008754/1.272, allocations: 150.1 kB / 1.18 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/1.272, allocations: 115.4 kB / 1.18 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of SimCode: time 1.193e-06/1.272, allocations: 7.938 kB / 1.18 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05777/1.33, allocations: 8.434 MB / 1.188 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/1.331, allocations: 166.8 kB / 1.188 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/4.128, allocations: 0 / 1.188 GB, free: 4.742 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)