Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_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.53/2.53, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.00147/0.001469, allocations: 172.8 kB / 360.6 MB, free: 7.277 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.159/2.159, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.00106/0.001059, allocations: 89.14 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.882e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8473, allocations: 115.2 MB / 0.9634 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/1.134, allocations: 168.4 MB / 1.128 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.134, allocations: 93.16 kB / 1.128 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1155/1.25, allocations: 23.33 MB / 1.151 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.784e-06/1.25, allocations: 0 / 1.151 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.83e-05/1.25, allocations: 15.98 kB / 1.151 GB, free: 12.41 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.001552/1.251, allocations: 0.6346 MB / 1.151 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.251, allocations: 8.031 kB / 1.151 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.253, allocations: 145.6 kB / 1.152 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/1.254, allocations: 331.2 kB / 1.152 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.254, allocations: 12 kB / 1.152 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/1.254, allocations: 23.94 kB / 1.152 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/1.255, allocations: 385.9 kB / 1.152 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/1.256, allocations: 0.5513 MB / 1.153 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.256, allocations: 3.938 kB / 1.153 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/1.256, allocations: 0 / 1.153 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/1.257, allocations: 36.77 kB / 1.153 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/1.262, allocations: 3.35 MB / 1.156 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.263, allocations: 353 kB / 1.156 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/1.264, allocations: 168.7 kB / 1.157 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/1.264, allocations: 7.984 kB / 1.157 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.264, allocations: 38.56 kB / 1.157 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.946e-06/1.264, allocations: 0 / 1.157 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.002946/1.267, allocations: 0.6595 MB / 1.157 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/1.267, allocations: 77.11 kB / 1.157 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/1.267, allocations: 262.1 kB / 1.158 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/1.267, allocations: 29.7 kB / 1.158 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.268, allocations: 259.3 kB / 1.158 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.268, allocations: 94.75 kB / 1.158 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/1.268, allocations: 0 / 1.158 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.268, allocations: 338.8 kB / 1.158 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/1.268, allocations: 161.1 kB / 1.158 GB, free: 4.027 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/1.269, allocations: 328.9 kB / 1.159 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/1.27, allocations: 243.8 kB / 1.159 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/1.27, allocations: 5.219 kB / 1.159 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003007/1.273, allocations: 0.722 MB / 1.16 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009457/1.274, allocations: 2.095 MB / 1.162 GB, free: 412 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.274, allocations: 8 kB / 1.162 GB, free: 404 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/1.276, allocations: 241.4 kB / 1.162 GB, free: 156 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/1.277, allocations: 95.81 kB / 1.162 GB, free: 60 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.278, allocations: 1.263 MB / 1.163 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/1.279, allocations: 35.8 kB / 1.163 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/1.279, allocations: 24 kB / 1.163 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.279, allocations: 4 kB / 1.163 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/1.281, allocations: 443.4 kB / 1.164 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.281, allocations: 11.95 kB / 1.164 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.281, allocations: 8.719 kB / 1.164 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/1.282, allocations: 113.9 kB / 1.164 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.282, allocations: 12 kB / 1.164 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/1.282, allocations: 19.92 kB / 1.164 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/1.282, allocations: 27.92 kB / 1.164 GB, free: 14.06 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.0002037/1.282, allocations: 116.6 kB / 1.164 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002865/1.285, allocations: 0.6287 MB / 1.165 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/1.285, allocations: 35.58 kB / 1.165 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/1.288, allocations: 0.6467 MB / 1.165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/1.288, allocations: 7.953 kB / 1.165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.288, allocations: 0 / 1.165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.288, allocations: 7.984 kB / 1.165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/1.29, allocations: 0.5939 MB / 1.166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.29, allocations: 7.922 kB / 1.166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/1.29, allocations: 39.97 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/1.293, allocations: 405.2 kB / 1.166 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/1.293, allocations: 0 / 1.166 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/1.299, allocations: 3.339 MB / 1.17 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.299, allocations: 3.938 kB / 1.17 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/1.302, allocations: 0.8599 MB / 1.171 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/1.302, allocations: 140.7 kB / 1.171 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/1.303, allocations: 4.938 kB / 1.171 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/1.303, allocations: 31.94 kB / 1.171 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.303, allocations: 17.09 kB / 1.171 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/1.303, allocations: 19.94 kB / 1.171 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003401/1.304, allocations: 202 kB / 1.171 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.61e-07/1.304, allocations: 0 / 1.171 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001254/1.305, allocations: 168.1 kB / 1.171 GB, free: 6.426 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.003893/1.309, allocations: 1.638 MB / 1.173 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002279/1.311, allocations: 0.6708 MB / 1.173 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.311, allocations: 0.5 kB / 1.173 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/1.313, allocations: 457.4 kB / 1.174 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/1.313, allocations: 63.5 kB / 1.174 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/1.315, allocations: 0.6158 MB / 1.174 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/1.316, allocations: 0.8548 MB / 1.175 GB, free: 2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008705/1.317, allocations: 157.7 kB / 1.175 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/1.317, allocations: 115.4 kB / 1.176 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of SimCode: time 1.123e-06/1.317, allocations: 0 / 1.176 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/1.377, allocations: 8.427 MB / 1.184 GB, free: 9.453 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/1.378, allocations: 161.5 kB / 1.184 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/4.122, allocations: 0 / 1.184 GB, free: 9.246 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)