Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001784/0.001785, allocations: 107.1 kB / 15.98 MB, free: 5.875 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.00224/0.00224, allocations: 197.6 kB / 16.91 MB, free: 5.738 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7565/0.7565, allocations: 122.9 MB / 413.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 69.34 kB / 0.4906 GB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1802, allocations: 77.92 MB / 0.5667 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006066/0.1863, allocations: 4.181 MB / 0.5708 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.1902, allocations: 2.338 MB / 0.5731 GB, free: 10 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1905, allocations: 7.938 kB / 0.5731 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1921, allocations: 0.5139 MB / 0.5736 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.1929, allocations: 270.9 kB / 0.5738 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.1938, allocations: 306.6 kB / 0.5741 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.1946, allocations: 0.5723 MB / 0.5747 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.1953, allocations: 428 kB / 0.5751 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.1957, allocations: 231.2 kB / 0.5753 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.1963, allocations: 287.1 kB / 0.5756 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.1964, allocations: 36 kB / 0.5756 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1969, allocations: 283.5 kB / 0.5759 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1972, allocations: 175.6 kB / 0.5761 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1974, allocations: 230.9 kB / 0.5763 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.1983, allocations: 0.662 MB / 0.5769 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1983, allocations: 0 / 0.5769 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1984, allocations: 0 / 0.5769 GB, free: 6.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.1984, allocations: 0 / 0.5769 GB, free: 6.039 MB / 446.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.001395/0.1998, allocations: 0.7253 MB / 0.5776 GB, free: 5.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1998, allocations: 8.031 kB / 0.5776 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.2011, allocations: 160.2 kB / 0.5778 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.2016, allocations: 324.5 kB / 0.5781 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2016, allocations: 25.38 kB / 0.5781 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.2017, allocations: 44.27 kB / 0.5782 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2028, allocations: 0.6398 MB / 0.5788 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2028, allocations: 4 kB / 0.5788 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.2029, allocations: 12 kB / 0.5788 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-05/0.203, allocations: 40.62 kB / 0.5788 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/0.2039, allocations: 0.4941 MB / 0.5793 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3212/0.5251, allocations: 3.43 MB / 0.5827 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5263, allocations: 374.1 kB / 0.583 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.5267, allocations: 174.9 kB / 0.5832 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.5268, allocations: 5.781 kB / 0.5832 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5268, allocations: 40.27 kB / 0.5832 GB, free: 22.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 3.176e-06/0.5269, allocations: 0 / 0.5832 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.006651/0.5335, allocations: 1.461 MB / 0.5847 GB, free: 21.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5336, allocations: 80.02 kB / 0.5848 GB, free: 21.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.5342, allocations: 336.1 kB / 0.5851 GB, free: 21.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.5342, allocations: 30.23 kB / 0.5851 GB, free: 21.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5344, allocations: 259.1 kB / 0.5853 GB, free: 21.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.5345, allocations: 103.5 kB / 0.5854 GB, free: 21.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.5348, allocations: 93.08 kB / 0.5855 GB, free: 21.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.5349, allocations: 338.2 kB / 0.5859 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.5354, allocations: 195.3 kB / 0.586 GB, free: 20.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.536, allocations: 343.1 kB / 0.5864 GB, free: 20.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.537, allocations: 0.5429 MB / 0.5869 GB, free: 20.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.537, allocations: 2 kB / 0.5869 GB, free: 20.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003641/0.5407, allocations: 0.9199 MB / 0.5878 GB, free: 20.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.5407, allocations: 12.94 kB / 0.5878 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.5408, allocations: 10.69 kB / 0.5878 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/0.5441, allocations: 0.4966 MB / 0.5883 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.5447, allocations: 97.5 kB / 0.5884 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007741/0.5525, allocations: 4.056 MB / 0.5924 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/0.5533, allocations: 43.94 kB / 0.5924 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.5534, allocations: 23.45 kB / 0.5924 GB, free: 16.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006964/0.5541, allocations: 310.4 kB / 0.5927 GB, free: 16.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000513/0.5546, allocations: 339.9 kB / 0.593 GB, free: 16.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008526/0.5555, allocations: 0.5041 MB / 0.5935 GB, free: 16.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.175e-06/0.5555, allocations: 1 kB / 0.5935 GB, free: 16.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001404/0.5569, allocations: 0.5389 MB / 0.5941 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5569, allocations: 10.77 kB / 0.5941 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.557, allocations: 10.36 kB / 0.5941 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.557, allocations: 8.875 kB / 0.5941 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.5575, allocations: 114 kB / 0.5942 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.5576, allocations: 13.95 kB / 0.5942 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.558, allocations: 41.7 kB / 0.5943 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.5581, allocations: 28.23 kB / 0.5943 GB, free: 15.79 MB / 446.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.0001544/0.5582, allocations: 204.2 kB / 0.5945 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5584, allocations: 37.05 kB / 0.5945 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.5603, allocations: 0.6763 MB / 0.5952 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.5603, allocations: 4.906 kB / 0.5952 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5603, allocations: 0 / 0.5952 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.5603, allocations: 2.828 kB / 0.5952 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.5613, allocations: 0.6545 MB / 0.5958 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5613, allocations: 0.6875 kB / 0.5958 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.5615, allocations: 46.42 kB / 0.5959 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.5633, allocations: 401.2 kB / 0.5962 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.5633, allocations: 6.688 kB / 0.5963 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.567, allocations: 3.762 MB / 0.5999 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5671, allocations: 2.344 kB / 0.5999 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5688, allocations: 0.8322 MB / 0.6007 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.569, allocations: 142.8 kB / 0.6009 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.5691, allocations: 10.84 kB / 0.6009 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.5695, allocations: 39.78 kB / 0.6009 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.5696, allocations: 26.42 kB / 0.601 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.5696, allocations: 6.438 kB / 0.601 GB, free: 11.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.5699, allocations: 238 kB / 0.6012 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5699, allocations: 2.031 kB / 0.6012 GB, free: 11.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001034/0.571, allocations: 193.5 kB / 0.6014 GB, free: 11.07 MB / 446.1 MB 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.0001445/0.5711, allocations: 115.5 kB / 0.6015 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.5732, allocations: 1.013 MB / 0.6025 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5732, allocations: 0.5625 kB / 0.6025 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.5739, allocations: 483.1 kB / 0.6029 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.5745, allocations: 70.36 kB / 0.603 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5758, allocations: 0.9064 MB / 0.6039 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5761, allocations: 0.8466 MB / 0.6047 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.5766, allocations: 143.9 kB / 0.6048 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.5767, allocations: 26.95 kB / 0.6049 GB, free: 8.848 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5767, allocations: 5 kB / 0.6049 GB, free: 8.844 MB / 446.1 MB Notification: Performance of Templates: time 0.01311/0.5898, allocations: 7.348 MB / 0.6121 GB, free: 6.285 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)