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.0009635/0.0009685, allocations: 87.94 kB / 16.66 MB, free: 5.742 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.0008968/0.0008969, allocations: 180.5 kB / 17.58 MB, free: 5.477 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.378/1.378, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 115.5 MB / 408.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 8 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.39, allocations: 77.52 MB / 0.5606 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004163/0.3942, allocations: 3.795 MB / 0.5643 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.3975, allocations: 2.179 MB / 0.5664 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3977, allocations: 5.906 kB / 0.5664 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.398, allocations: 72.52 kB / 0.5665 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.3985, allocations: 243.7 kB / 0.5667 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007613/0.3993, allocations: 317.5 kB / 0.567 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008114/0.4001, allocations: 0.8123 MB / 0.5678 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.4012, allocations: 0.6459 MB / 0.5685 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.4015, allocations: 187.2 kB / 0.5686 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.402, allocations: 260.8 kB / 0.5689 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.402, allocations: 18.88 kB / 0.5689 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.4025, allocations: 293 kB / 0.5692 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.4027, allocations: 157.6 kB / 0.5693 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.4029, allocations: 215.3 kB / 0.5695 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.4036, allocations: 0.4903 MB / 0.57 GB, free: 30 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4036, allocations: 0 / 0.57 GB, free: 30 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4036, allocations: 3.531 kB / 0.57 GB, free: 30 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4036, allocations: 0 / 0.57 GB, free: 30 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.0009149/0.4045, allocations: 0.6247 MB / 0.5706 GB, free: 29.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4045, allocations: 13.94 kB / 0.5706 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.4055, allocations: 137.6 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4059, allocations: 322.8 kB / 0.5711 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4059, allocations: 32.56 kB / 0.5711 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.406, allocations: 41.67 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.4069, allocations: 0.6324 MB / 0.5718 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4069, allocations: 5 kB / 0.5718 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.407, allocations: 15.05 kB / 0.5718 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.371e-05/0.407, allocations: 42.22 kB / 0.5718 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.4078, allocations: 474.2 kB / 0.5723 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.4105, allocations: 3.432 MB / 0.5756 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.4112, allocations: 383.4 kB / 0.576 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4114, allocations: 170.9 kB / 0.5762 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.4115, allocations: 3.688 kB / 0.5762 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.4115, allocations: 41.64 kB / 0.5762 GB, free: 25.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.4115, allocations: 2.5 kB / 0.5762 GB, free: 25.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004876/0.4164, allocations: 1.46 MB / 0.5776 GB, free: 24.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4165, allocations: 82.55 kB / 0.5777 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.4168, allocations: 327.4 kB / 0.578 GB, free: 24.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4169, allocations: 27.08 kB / 0.5781 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.417, allocations: 266.7 kB / 0.5783 GB, free: 24.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.4171, allocations: 93.38 kB / 0.5784 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.4172, allocations: 45.19 kB / 0.5784 GB, free: 24.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.4172, allocations: 339.4 kB / 0.5788 GB, free: 24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.4175, allocations: 174 kB / 0.5789 GB, free: 23.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.4178, allocations: 344.7 kB / 0.5793 GB, free: 23.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.4185, allocations: 0.5314 MB / 0.5798 GB, free: 23.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4185, allocations: 2.344 kB / 0.5798 GB, free: 23.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002312/0.4208, allocations: 0.9165 MB / 0.5807 GB, free: 23.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.4209, allocations: 247.2 kB / 0.5809 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4209, allocations: 5.953 kB / 0.5809 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.4232, allocations: 0.5069 MB / 0.5814 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.4236, allocations: 93.39 kB / 0.5815 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.4286, allocations: 3.787 MB / 0.5852 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.4291, allocations: 37.28 kB / 0.5852 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.4291, allocations: 27.48 kB / 0.5853 GB, free: 19.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.4291, allocations: 4.188 kB / 0.5853 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007061/0.4298, allocations: 479.1 kB / 0.5857 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4299, allocations: 5.938 kB / 0.5857 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.4299, allocations: 12.41 kB / 0.5857 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.4303, allocations: 109.2 kB / 0.5858 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4303, allocations: 12.73 kB / 0.5859 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.4305, allocations: 35.72 kB / 0.5859 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.4306, allocations: 21.78 kB / 0.5859 GB, free: 19.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.0002722/0.4309, allocations: 280.7 kB / 0.5862 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.431, allocations: 31.91 kB / 0.5862 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.4327, allocations: 0.6683 MB / 0.5869 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4327, allocations: 4.734 kB / 0.5869 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4327, allocations: 4 kB / 0.5869 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4327, allocations: 3 kB / 0.5869 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.4339, allocations: 0.6537 MB / 0.5875 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4339, allocations: 1.312 kB / 0.5875 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.4342, allocations: 40.91 kB / 0.5875 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.4366, allocations: 413.3 kB / 0.5879 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.4367, allocations: 10.16 kB / 0.588 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.4414, allocations: 3.475 MB / 0.5913 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4415, allocations: 5.312 kB / 0.5913 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.4439, allocations: 0.8249 MB / 0.5922 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.4442, allocations: 145.4 kB / 0.5923 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.4443, allocations: 6.125 kB / 0.5923 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.4449, allocations: 36.62 kB / 0.5923 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.445, allocations: 23.66 kB / 0.5924 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.4451, allocations: 13.95 kB / 0.5924 GB, free: 14.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.4454, allocations: 226.9 kB / 0.5926 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4455, allocations: 0 / 0.5926 GB, free: 14.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0015/0.447, allocations: 192.6 kB / 0.5928 GB, free: 14.46 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.0002007/0.4472, allocations: 117.5 kB / 0.5929 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.4495, allocations: 0.9555 MB / 0.5938 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4495, allocations: 0 / 0.5938 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.4504, allocations: 479.4 kB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.4514, allocations: 72.2 kB / 0.5943 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.4531, allocations: 0.9791 MB / 0.5953 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4535, allocations: 0.8506 MB / 0.5961 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.4537, allocations: 37.77 kB / 0.5962 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4537, allocations: 0 / 0.5962 GB, free: 11.88 MB / 446.1 MB Notification: Performance of Templates: time 0.01564/0.4693, allocations: 8.262 MB / 0.6042 GB, free: 5.168 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)