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.001819/0.001819, allocations: 101.5 kB / 16.27 MB, free: 5.934 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.002273/0.002274, allocations: 191.2 kB / 17.2 MB, free: 5.574 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8/0.8, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.91 kB / 0.4911 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3963, allocations: 77.92 MB / 0.5672 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007179/0.4035, allocations: 4.146 MB / 0.5713 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.4078, allocations: 2.348 MB / 0.5735 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.4083, allocations: 11.44 kB / 0.5736 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.4101, allocations: 0.5367 MB / 0.5741 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009726/0.4111, allocations: 296.5 kB / 0.5744 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4122, allocations: 349 kB / 0.5747 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.4133, allocations: 0.5571 MB / 0.5752 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007888/0.4141, allocations: 367.7 kB / 0.5756 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.4146, allocations: 232.8 kB / 0.5758 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.4152, allocations: 286.5 kB / 0.5761 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.4154, allocations: 36.31 kB / 0.5761 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007055/0.4161, allocations: 292.2 kB / 0.5764 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.4164, allocations: 175.6 kB / 0.5766 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.4167, allocations: 209.9 kB / 0.5768 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4177, allocations: 0.6546 MB / 0.5774 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4177, allocations: 4.703 kB / 0.5774 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4177, allocations: 0.5 kB / 0.5774 GB, free: 26.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.4178, allocations: 0 / 0.5774 GB, free: 26.9 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.001427/0.4192, allocations: 0.7169 MB / 0.5781 GB, free: 26.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4193, allocations: 11.97 kB / 0.5781 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.4206, allocations: 161.5 kB / 0.5783 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.4211, allocations: 328.7 kB / 0.5786 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.4212, allocations: 28.28 kB / 0.5786 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.4212, allocations: 36.86 kB / 0.5787 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4224, allocations: 0.6351 MB / 0.5793 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.4224, allocations: 9.094 kB / 0.5793 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.4225, allocations: 17.22 kB / 0.5793 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.4226, allocations: 43.06 kB / 0.5793 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.4235, allocations: 496.1 kB / 0.5798 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.4268, allocations: 3.43 MB / 0.5832 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.4274, allocations: 378.1 kB / 0.5835 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.4277, allocations: 177.4 kB / 0.5837 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.4277, allocations: 3.938 kB / 0.5837 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.4277, allocations: 36.75 kB / 0.5837 GB, free: 21.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.4277, allocations: 3.438 kB / 0.5837 GB, free: 21.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004608/0.4324, allocations: 1.453 MB / 0.5852 GB, free: 21.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.4324, allocations: 79.55 kB / 0.5852 GB, free: 20.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.4329, allocations: 335.9 kB / 0.5855 GB, free: 20.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4329, allocations: 26.89 kB / 0.5856 GB, free: 20.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.433, allocations: 263.9 kB / 0.5858 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.4331, allocations: 91.69 kB / 0.5859 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.4333, allocations: 97.42 kB / 0.586 GB, free: 20.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.4334, allocations: 340.2 kB / 0.5863 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4337, allocations: 192 kB / 0.5865 GB, free: 19.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.4341, allocations: 352.3 kB / 0.5868 GB, free: 19.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.4348, allocations: 0.5346 MB / 0.5874 GB, free: 19.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4348, allocations: 5.844 kB / 0.5874 GB, free: 19.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002347/0.4371, allocations: 0.9295 MB / 0.5883 GB, free: 18.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4372, allocations: 6.531 kB / 0.5883 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4372, allocations: 9.328 kB / 0.5883 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.4394, allocations: 0.5009 MB / 0.5888 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.4399, allocations: 103.9 kB / 0.5889 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.445, allocations: 4.061 MB / 0.5929 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.4456, allocations: 56.61 kB / 0.5929 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.4457, allocations: 18.09 kB / 0.5929 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006112/0.4463, allocations: 306.3 kB / 0.5932 GB, free: 14.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004082/0.4467, allocations: 339.4 kB / 0.5935 GB, free: 14.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006243/0.4473, allocations: 0.5041 MB / 0.594 GB, free: 13.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.192e-06/0.4474, allocations: 3.094 kB / 0.594 GB, free: 13.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.000989/0.4483, allocations: 0.5377 MB / 0.5946 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4484, allocations: 10.92 kB / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4484, allocations: 10.06 kB / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4484, allocations: 11.81 kB / 0.5946 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.4489, allocations: 102.8 kB / 0.5947 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4489, allocations: 16.58 kB / 0.5947 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.4493, allocations: 46.44 kB / 0.5948 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.4494, allocations: 20.97 kB / 0.5948 GB, free: 13.55 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.000168/0.4496, allocations: 206.5 kB / 0.595 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.4497, allocations: 34.38 kB / 0.595 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4512, allocations: 0.6788 MB / 0.5957 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4512, allocations: 4 kB / 0.5957 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4512, allocations: 0 / 0.5957 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4512, allocations: 7.922 kB / 0.5957 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/0.452, allocations: 0.6598 MB / 0.5963 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4521, allocations: 0 / 0.5963 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.4522, allocations: 39.97 kB / 0.5964 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.4536, allocations: 409.3 kB / 0.5967 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.4536, allocations: 8 kB / 0.5968 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.4567, allocations: 3.754 MB / 0.6004 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4567, allocations: 7.875 kB / 0.6004 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.4582, allocations: 0.8258 MB / 0.6012 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4583, allocations: 140.6 kB / 0.6014 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.4584, allocations: 4 kB / 0.6014 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.4588, allocations: 47.92 kB / 0.6014 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.4589, allocations: 27.91 kB / 0.6014 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4589, allocations: 4 kB / 0.6014 GB, free: 6.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.4592, allocations: 235 kB / 0.6017 GB, free: 6.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4592, allocations: 0 / 0.6017 GB, free: 6.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001004/0.4602, allocations: 196 kB / 0.6019 GB, free: 5.879 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.000176/0.4604, allocations: 111.2 kB / 0.602 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.462, allocations: 1.019 MB / 0.603 GB, free: 4.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4621, allocations: 0 / 0.603 GB, free: 4.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.4626, allocations: 477.9 kB / 0.6034 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.4632, allocations: 72.98 kB / 0.6035 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4644, allocations: 0.7619 MB / 0.6042 GB, free: 3.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4647, allocations: 0.847 MB / 0.6051 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.4651, allocations: 139.2 kB / 0.6052 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.4652, allocations: 31.42 kB / 0.6052 GB, free: 2.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4652, allocations: 0 / 0.6052 GB, free: 2.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01165/0.4768, allocations: 7.365 MB / 0.6124 GB, free: 10.99 MB / 462.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)