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.00108/0.00108, allocations: 106.6 kB / 15.99 MB, free: 5.914 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.001079/0.001079, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.255/1.255, allocations: 222.9 MB / 240.6 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 288.8 kB / 291 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8882/0.8882, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 97.23 kB / 0.5954 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1805, allocations: 86.97 MB / 0.6803 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006774/0.1873, allocations: 4.183 MB / 0.6844 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.1908, allocations: 2.174 MB / 0.6865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.191, allocations: 12 kB / 0.6865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.1926, allocations: 0.5246 MB / 0.687 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.1931, allocations: 259 kB / 0.6873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.1939, allocations: 307.4 kB / 0.6876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.1945, allocations: 0.5646 MB / 0.6881 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005808/0.1951, allocations: 415.7 kB / 0.6885 GB, free: 80 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2717/0.4668, allocations: 222.2 kB / 0.6887 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.4674, allocations: 297.3 kB / 0.689 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.4675, allocations: 35.75 kB / 0.689 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.4679, allocations: 255.4 kB / 0.6893 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.4681, allocations: 178.1 kB / 0.6894 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.4683, allocations: 215.7 kB / 0.6897 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.4689, allocations: 0.4982 MB / 0.6901 GB, free: 12.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4689, allocations: 2.688 kB / 0.6901 GB, free: 12.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4689, allocations: 0 / 0.6901 GB, free: 12.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.4689, allocations: 0.5156 kB / 0.6901 GB, free: 12.26 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.001056/0.47, allocations: 0.7211 MB / 0.6908 GB, free: 11.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.47, allocations: 9.953 kB / 0.6909 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.471, allocations: 135.2 kB / 0.691 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.4713, allocations: 324 kB / 0.6913 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4714, allocations: 26.97 kB / 0.6913 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.4715, allocations: 34.62 kB / 0.6914 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.4723, allocations: 0.624 MB / 0.692 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.4723, allocations: 8.938 kB / 0.692 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.4724, allocations: 17.3 kB / 0.692 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/0.4725, allocations: 46.94 kB / 0.692 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.4732, allocations: 475.8 kB / 0.6925 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.4759, allocations: 3.423 MB / 0.6958 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.4765, allocations: 369.2 kB / 0.6962 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.4768, allocations: 171.7 kB / 0.6963 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.4768, allocations: 10.84 kB / 0.6964 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.4768, allocations: 36.67 kB / 0.6964 GB, free: 8.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.4769, allocations: 4 kB / 0.6964 GB, free: 8.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=26): time 0.004671/0.4815, allocations: 1.455 MB / 0.6978 GB, free: 8.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.4816, allocations: 87.42 kB / 0.6979 GB, free: 8.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.4819, allocations: 324.9 kB / 0.6982 GB, free: 8.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4819, allocations: 30.73 kB / 0.6982 GB, free: 8.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.482, allocations: 267.1 kB / 0.6985 GB, free: 7.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.4821, allocations: 88.45 kB / 0.6986 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.4823, allocations: 94.39 kB / 0.6987 GB, free: 7.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.4823, allocations: 339.1 kB / 0.699 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4826, allocations: 185.4 kB / 0.6992 GB, free: 7.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.4829, allocations: 349.6 kB / 0.6995 GB, free: 7.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.4835, allocations: 0.5244 MB / 0.7 GB, free: 6.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4835, allocations: 1.719 kB / 0.7 GB, free: 6.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002321/0.4859, allocations: 0.9128 MB / 0.7009 GB, free: 6.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4859, allocations: 6.375 kB / 0.7009 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4859, allocations: 7.031 kB / 0.7009 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.4883, allocations: 0.5012 MB / 0.7014 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.4887, allocations: 93.38 kB / 0.7015 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004933/0.4936, allocations: 4.056 MB / 0.7055 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.494, allocations: 45.58 kB / 0.7055 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.4941, allocations: 23.23 kB / 0.7055 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003801/0.4945, allocations: 297.6 kB / 0.7058 GB, free: 3.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002853/0.4948, allocations: 330.3 kB / 0.7061 GB, free: 3.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005034/0.4953, allocations: 0.5052 MB / 0.7066 GB, free: 2.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.4953, allocations: 2.094 kB / 0.7066 GB, free: 2.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007599/0.4961, allocations: 0.5275 MB / 0.7071 GB, free: 2.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4961, allocations: 9 kB / 0.7071 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4961, allocations: 9.75 kB / 0.7071 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.4961, allocations: 7.812 kB / 0.7072 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.4965, allocations: 112.8 kB / 0.7073 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.4965, allocations: 13.5 kB / 0.7073 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.4968, allocations: 32.92 kB / 0.7073 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.4969, allocations: 31.41 kB / 0.7073 GB, free: 2.543 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.0001134/0.497, allocations: 208.7 kB / 0.7075 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.4971, allocations: 32 kB / 0.7076 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.4988, allocations: 0.6714 MB / 0.7082 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4988, allocations: 11.45 kB / 0.7082 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4988, allocations: 1.75 kB / 0.7082 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4988, allocations: 5.047 kB / 0.7082 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.4997, allocations: 0.6514 MB / 0.7089 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4997, allocations: 1.375 kB / 0.7089 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.4999, allocations: 45.02 kB / 0.7089 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.5017, allocations: 402.9 kB / 0.7093 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.5017, allocations: 6.812 kB / 0.7093 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.506, allocations: 3.759 MB / 0.713 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.506, allocations: 2.719 kB / 0.713 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.5079, allocations: 0.8315 MB / 0.7138 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.5081, allocations: 139.3 kB / 0.7139 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.5081, allocations: 6.375 kB / 0.7139 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.5085, allocations: 36.69 kB / 0.714 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.5086, allocations: 23.8 kB / 0.714 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5086, allocations: 14.33 kB / 0.714 GB, free: 14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002476/0.5089, allocations: 229.5 kB / 0.7142 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5089, allocations: 0 / 0.7142 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009204/0.5098, allocations: 191.8 kB / 0.7144 GB, free: 13.86 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.0001724/0.51, allocations: 112.6 kB / 0.7145 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001882/0.5119, allocations: 0.9993 MB / 0.7155 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5119, allocations: 2 kB / 0.7155 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008146/0.5127, allocations: 485.4 kB / 0.716 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.5133, allocations: 83.8 kB / 0.716 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.5149, allocations: 0.9475 MB / 0.717 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.5154, allocations: 0.8502 MB / 0.7178 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5155, allocations: 35.27 kB / 0.7178 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5155, allocations: 0 / 0.7178 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.01094/0.5265, allocations: 8.321 MB / 0.726 GB, free: 8.32 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)