Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 186.1 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007289/0.0007288, allocations: 97.09 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 8.875 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002571/0.2339, allocations: 2.233 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.235, allocations: 0.7752 MB / 0.8997 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.2351, allocations: 0 / 0.8997 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009926/0.2361, allocations: 0.5694 MB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.2363, allocations: 103.6 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.2366, allocations: 98.69 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2368, allocations: 295.3 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.237, allocations: 106.1 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.56e-05/0.2371, allocations: 63.72 kB / 0.9009 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2373, allocations: 95.64 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2373, allocations: 8 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.2375, allocations: 139.6 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.2376, allocations: 47.88 kB / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.2376, allocations: 63.67 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2378, allocations: 167.6 kB / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2378, allocations: 0 / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2378, allocations: 0 / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2379, allocations: 0 / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004756/0.2383, allocations: 427.3 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2384, allocations: 8.031 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.2387, allocations: 52.7 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2389, allocations: 212 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2389, allocations: 12.66 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.239, allocations: 12.38 kB / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2393, allocations: 235 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2393, allocations: 4 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2393, allocations: 4 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.2393, allocations: 20.27 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2395, allocations: 140.7 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.2403, allocations: 1.13 MB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.2404, allocations: 42.56 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.2404, allocations: 24.88 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2404, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2405, allocations: 34.56 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2405, allocations: 0 / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000238/0.2407, allocations: 77.53 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2407, allocations: 55.39 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2409, allocations: 173.8 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.2409, allocations: 25.7 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.2409, allocations: 143.4 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.241, allocations: 15.81 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.241, allocations: 25.64 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.2411, allocations: 322.8 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.2411, allocations: 15.94 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.2412, allocations: 97.42 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.2413, allocations: 117.5 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2413, allocations: 4 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001446/0.2414, allocations: 137.3 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.2415, allocations: 161.8 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2415, allocations: 3.984 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2415, allocations: 8 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.2416, allocations: 27.94 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2416, allocations: 7.984 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.2417, allocations: 19.83 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2417, allocations: 4 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.2417, allocations: 4 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001095/0.2418, allocations: 95.97 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.2419, allocations: 8.062 kB / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.2419, allocations: 4 kB / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.2419, allocations: 27.92 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2419, allocations: 4 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.242, allocations: 15.78 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.242, allocations: 8 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.2421, allocations: 213 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.2421, allocations: 7.906 kB / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.2422, allocations: 20.92 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2422, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2422, allocations: 7.938 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2422, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.2425, allocations: 477 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2425, allocations: 3.938 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.2426, allocations: 12.12 kB / 0.9059 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2426, allocations: 3.984 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2426, allocations: 0 / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2426, allocations: 7.938 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2426, allocations: 0 / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.001e-05/0.2427, allocations: 111.5 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.2427, allocations: 96.94 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2428, allocations: 4 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.235e-05/0.2428, allocations: 0 / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.2428, allocations: 0 / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.2428, allocations: 4 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.2429, allocations: 128.9 kB / 0.9062 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2429, allocations: 0 / 0.9062 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002924/0.2432, allocations: 59.75 kB / 0.9063 GB, free: 57.83 MB / 0.6042 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.929e-05/0.2433, allocations: 99.25 kB / 0.9064 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.2434, allocations: 108.9 kB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2435, allocations: 0 / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.2435, allocations: 16.12 kB / 0.9065 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2438, allocations: 30.58 kB / 0.9065 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.2442, allocations: 345 kB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2443, allocations: 0.7241 MB / 0.9076 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2444, allocations: 15.44 kB / 0.9076 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2444, allocations: 0 / 0.9076 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.002362/0.2467, allocations: 1.446 MB / 0.909 GB, free: 54.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)