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.0009486/0.0009485, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001207/0.001207, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 279.1 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 12.12 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1808, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004803/0.1856, allocations: 3.642 MB / 0.6881 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.1896, allocations: 2.058 MB / 0.6901 GB, free: 9.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.1899, allocations: 4 kB / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1902, allocations: 67.42 kB / 0.6901 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.1907, allocations: 212.7 kB / 0.6903 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.1915, allocations: 276.6 kB / 0.6906 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.1922, allocations: 0.6464 MB / 0.6912 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.1932, allocations: 0.605 MB / 0.6918 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1935, allocations: 183.3 kB / 0.692 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.1939, allocations: 267.1 kB / 0.6923 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.1939, allocations: 16 kB / 0.6923 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.1942, allocations: 139.8 kB / 0.6924 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1944, allocations: 155.5 kB / 0.6925 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.1945, allocations: 101.5 kB / 0.6926 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.195, allocations: 486.8 kB / 0.6931 GB, free: 6.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.195, allocations: 0 / 0.6931 GB, free: 6.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.195, allocations: 0 / 0.6931 GB, free: 6.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.195, allocations: 0 / 0.6931 GB, free: 6.625 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.0009551/0.1959, allocations: 0.6277 MB / 0.6937 GB, free: 5.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.196, allocations: 8.031 kB / 0.6937 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.1969, allocations: 143.2 kB / 0.6939 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.1973, allocations: 323.8 kB / 0.6942 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.1973, allocations: 32.98 kB / 0.6942 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.1974, allocations: 32 kB / 0.6942 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.1983, allocations: 0.6299 MB / 0.6949 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1984, allocations: 0 / 0.6949 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.1984, allocations: 19.92 kB / 0.6949 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.881e-05/0.1985, allocations: 44.62 kB / 0.6949 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/0.1992, allocations: 470.2 kB / 0.6954 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.2024, allocations: 3.424 MB / 0.6987 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.203, allocations: 380.9 kB / 0.6991 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.2033, allocations: 169.6 kB / 0.6992 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.2033, allocations: 7.984 kB / 0.6992 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2034, allocations: 34.97 kB / 0.6993 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.2034, allocations: 0 / 0.6993 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004179/0.2075, allocations: 1.469 MB / 0.7007 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.2076, allocations: 85.05 kB / 0.7008 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.208, allocations: 320.4 kB / 0.7011 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.208, allocations: 29.7 kB / 0.7011 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2082, allocations: 263.3 kB / 0.7014 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.2083, allocations: 90.73 kB / 0.7015 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.2083, allocations: 12 kB / 0.7015 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2084, allocations: 338.8 kB / 0.7018 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2087, allocations: 173 kB / 0.702 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.209, allocations: 338.1 kB / 0.7023 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.2094, allocations: 227.8 kB / 0.7025 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2094, allocations: 7.938 kB / 0.7025 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002018/0.2114, allocations: 0.9053 MB / 0.7034 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.2116, allocations: 249.4 kB / 0.7036 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2116, allocations: 4 kB / 0.7036 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.2137, allocations: 0.5087 MB / 0.7041 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.2141, allocations: 91.88 kB / 0.7042 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.2193, allocations: 3.782 MB / 0.7079 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.2197, allocations: 39.81 kB / 0.7079 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.2197, allocations: 24.06 kB / 0.708 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.2197, allocations: 7.938 kB / 0.708 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006895/0.2204, allocations: 479.8 kB / 0.7084 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2205, allocations: 4 kB / 0.7084 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2205, allocations: 15.94 kB / 0.7085 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.2208, allocations: 107.8 kB / 0.7086 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2209, allocations: 15.89 kB / 0.7086 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.2211, allocations: 35.81 kB / 0.7086 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.2211, allocations: 16 kB / 0.7086 GB, free: 5.734 MB / 0.4981 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 () * 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 (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.0002554/0.2214, allocations: 277.8 kB / 0.7089 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.2215, allocations: 31.62 kB / 0.7089 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.223, allocations: 0.6708 MB / 0.7096 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.223, allocations: 4 kB / 0.7096 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.223, allocations: 4 kB / 0.7096 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.223, allocations: 7.953 kB / 0.7096 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.2238, allocations: 0.6482 MB / 0.7102 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2238, allocations: 0 / 0.7102 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.224, allocations: 47.91 kB / 0.7103 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.2254, allocations: 405.3 kB / 0.7107 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2254, allocations: 4 kB / 0.7107 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.2289, allocations: 3.474 MB / 0.714 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2289, allocations: 0 / 0.714 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2303, allocations: 0.827 MB / 0.7149 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.2305, allocations: 144.6 kB / 0.715 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.2306, allocations: 8 kB / 0.715 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.2309, allocations: 40.08 kB / 0.715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.2309, allocations: 27.97 kB / 0.7151 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.231, allocations: 15.98 kB / 0.7151 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002154/0.2312, allocations: 227 kB / 0.7153 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2312, allocations: 0 / 0.7153 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008861/0.2321, allocations: 192 kB / 0.7155 GB, free: 14.3 MB / 0.5137 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 (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.0001571/0.2322, allocations: 111.1 kB / 0.7156 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.2337, allocations: 0.9568 MB / 0.7165 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2338, allocations: 0 / 0.7165 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.2344, allocations: 484.9 kB / 0.717 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.235, allocations: 71.38 kB / 0.7171 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2362, allocations: 0.906 MB / 0.7179 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2366, allocations: 0.8509 MB / 0.7188 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003817/0.237, allocations: 131.2 kB / 0.7189 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.2371, allocations: 35.42 kB / 0.7189 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.2371, allocations: 0 / 0.7189 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.01046/0.2475, allocations: 6.62 MB / 0.7254 GB, free: 4.07 MB / 0.5137 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)