Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 102.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 297.4 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 97.84 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 86.97 MB / 0.6808 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005741/0.1591, allocations: 4.151 MB / 0.6849 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.1626, allocations: 2.205 MB / 0.687 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1629, allocations: 8 kB / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1644, allocations: 0.5408 MB / 0.6876 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.165, allocations: 266.8 kB / 0.6878 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.1659, allocations: 350.4 kB / 0.6882 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.1665, allocations: 0.5646 MB / 0.6887 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2778/0.4443, allocations: 354.8 kB / 0.6891 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.4449, allocations: 223.5 kB / 0.6893 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.4454, allocations: 280.8 kB / 0.6895 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.4455, allocations: 37 kB / 0.6896 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.4461, allocations: 255.5 kB / 0.6898 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.4463, allocations: 175.7 kB / 0.69 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.4465, allocations: 215.7 kB / 0.6902 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.4474, allocations: 0.6353 MB / 0.6908 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4474, allocations: 0.75 kB / 0.6908 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4474, allocations: 0 / 0.6908 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4474, allocations: 0.9688 kB / 0.6908 GB, free: 12.02 MB / 494.1 MB 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.001158/0.4486, allocations: 0.7202 MB / 0.6915 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4486, allocations: 12.91 kB / 0.6915 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4497, allocations: 135.4 kB / 0.6917 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.4501, allocations: 328.8 kB / 0.692 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4501, allocations: 28.06 kB / 0.692 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.4502, allocations: 39.45 kB / 0.692 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.4511, allocations: 0.6231 MB / 0.6926 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4511, allocations: 9.781 kB / 0.6927 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.4512, allocations: 15.31 kB / 0.6927 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-05/0.4513, allocations: 40.83 kB / 0.6927 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.452, allocations: 477.6 kB / 0.6932 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.4551, allocations: 3.415 MB / 0.6965 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.4558, allocations: 375.2 kB / 0.6969 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.4561, allocations: 170.5 kB / 0.697 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.4561, allocations: 11.95 kB / 0.697 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4562, allocations: 36.02 kB / 0.6971 GB, free: 8.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/0.4562, allocations: 0 / 0.6971 GB, free: 8.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=26): time 0.004861/0.461, allocations: 1.463 MB / 0.6985 GB, free: 8.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4611, allocations: 80.42 kB / 0.6986 GB, free: 8.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.4615, allocations: 324.7 kB / 0.6989 GB, free: 7.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.4615, allocations: 31.36 kB / 0.6989 GB, free: 7.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4617, allocations: 258.3 kB / 0.6992 GB, free: 7.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.4617, allocations: 96.86 kB / 0.6993 GB, free: 7.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4619, allocations: 92.45 kB / 0.6993 GB, free: 7.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.462, allocations: 341 kB / 0.6997 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.4623, allocations: 186 kB / 0.6998 GB, free: 7.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.4626, allocations: 338.9 kB / 0.7002 GB, free: 6.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.4632, allocations: 0.5348 MB / 0.7007 GB, free: 6.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4633, allocations: 1.156 kB / 0.7007 GB, free: 6.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002372/0.4656, allocations: 0.9142 MB / 0.7016 GB, free: 6.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4657, allocations: 8.812 kB / 0.7016 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4657, allocations: 6.656 kB / 0.7016 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.4681, allocations: 0.4997 MB / 0.7021 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.4685, allocations: 94.02 kB / 0.7022 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.4737, allocations: 4.057 MB / 0.7061 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.4742, allocations: 45.41 kB / 0.7062 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.4743, allocations: 23.61 kB / 0.7062 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004568/0.4747, allocations: 305.9 kB / 0.7065 GB, free: 3.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003107/0.4751, allocations: 330.4 kB / 0.7068 GB, free: 2.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005653/0.4756, allocations: 0.4973 MB / 0.7073 GB, free: 2.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.4756, allocations: 5.062 kB / 0.7073 GB, free: 2.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008152/0.4765, allocations: 0.5276 MB / 0.7078 GB, free: 2.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4765, allocations: 6.719 kB / 0.7078 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4765, allocations: 10.36 kB / 0.7078 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.4765, allocations: 8.312 kB / 0.7078 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.4769, allocations: 113.6 kB / 0.7079 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.477, allocations: 13.41 kB / 0.708 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.4773, allocations: 31.69 kB / 0.708 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4773, allocations: 23.59 kB / 0.708 GB, free: 2.18 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.4775, allocations: 203.5 kB / 0.7082 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.4776, allocations: 33.3 kB / 0.7082 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.4793, allocations: 0.6794 MB / 0.7089 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4794, allocations: 7.062 kB / 0.7089 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4794, allocations: 1.656 kB / 0.7089 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4794, allocations: 2.422 kB / 0.7089 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.4803, allocations: 0.6566 MB / 0.7096 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4804, allocations: 1.906 kB / 0.7096 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.4806, allocations: 46.69 kB / 0.7096 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.4822, allocations: 396.7 kB / 0.71 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4822, allocations: 10.62 kB / 0.71 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.4866, allocations: 3.755 MB / 0.7137 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4866, allocations: 6.281 kB / 0.7137 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.4887, allocations: 0.8279 MB / 0.7145 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.4889, allocations: 146.6 kB / 0.7146 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.489, allocations: 15.44 kB / 0.7146 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.4893, allocations: 35.83 kB / 0.7147 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.4894, allocations: 22.25 kB / 0.7147 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.4895, allocations: 11.09 kB / 0.7147 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002956/0.4898, allocations: 226.6 kB / 0.7149 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4898, allocations: 0 / 0.7149 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001065/0.4908, allocations: 191.8 kB / 0.7151 GB, free: 13.5 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.491, allocations: 112.1 kB / 0.7152 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.493, allocations: 0.9987 MB / 0.7162 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4931, allocations: 0.875 kB / 0.7162 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.494, allocations: 490.2 kB / 0.7166 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.4947, allocations: 73.67 kB / 0.7167 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4966, allocations: 0.8032 MB / 0.7175 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.4973, allocations: 0.8494 MB / 0.7183 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4974, allocations: 35.48 kB / 0.7184 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/0.4974, allocations: 0 / 0.7184 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.01556/0.513, allocations: 8.325 MB / 0.7265 GB, free: 8.113 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)