Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007816, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008536/0.0008537, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005474, allocations: 15.56 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2238, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003037/0.2268, allocations: 2.138 MB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2282, allocations: 0.721 MB / 0.7901 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.2284, allocations: 7.938 kB / 0.7901 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.2286, allocations: 23.84 kB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.2289, allocations: 83.61 kB / 0.7902 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.2293, allocations: 86.97 kB / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.2296, allocations: 227.3 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.2299, allocations: 179.1 kB / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.23, allocations: 63.77 kB / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.2302, allocations: 83.72 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2303, allocations: 8 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.2304, allocations: 51.91 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.2305, allocations: 55.88 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.2305, allocations: 49.64 kB / 0.7909 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.2307, allocations: 159.8 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2307, allocations: 0 / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2308, allocations: 0 / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2308, allocations: 3.938 kB / 0.7911 GB, free: 7.992 MB / 0.6075 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.0005852/0.2314, allocations: 427.1 kB / 0.7915 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2314, allocations: 8.031 kB / 0.7915 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.2318, allocations: 47.77 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2321, allocations: 210.9 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.2321, allocations: 12.27 kB / 0.7918 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.2321, allocations: 16 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.2325, allocations: 226.7 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2325, allocations: 4 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2326, allocations: 7.938 kB / 0.792 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.2326, allocations: 12.28 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.2328, allocations: 148.7 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.2339, allocations: 1.13 MB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.234, allocations: 42.55 kB / 0.7933 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.2341, allocations: 16.86 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2341, allocations: 4 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2341, allocations: 34.52 kB / 0.7934 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2341, allocations: 3.938 kB / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.00019/0.2343, allocations: 77.86 kB / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2343, allocations: 51.41 kB / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2345, allocations: 175 kB / 0.7937 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2345, allocations: 25.7 kB / 0.7937 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.2346, allocations: 143.4 kB / 0.7938 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2346, allocations: 23.73 kB / 0.7938 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.2346, allocations: 4 kB / 0.7939 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2348, allocations: 322.8 kB / 0.7942 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.2348, allocations: 12 kB / 0.7942 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.2349, allocations: 93.36 kB / 0.7943 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.852e-05/0.235, allocations: 35.98 kB / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.235, allocations: 0 / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001816/0.2352, allocations: 137.3 kB / 0.7944 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/0.2353, allocations: 161.8 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2353, allocations: 4 kB / 0.7946 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2353, allocations: 4 kB / 0.7946 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2354, allocations: 35.92 kB / 0.7946 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2354, allocations: 4 kB / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.2355, allocations: 11.84 kB / 0.7946 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2355, allocations: 8 kB / 0.7946 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.2355, allocations: 0 / 0.7946 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001503/0.2357, allocations: 104 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.2357, allocations: 4.062 kB / 0.7947 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.2357, allocations: 4 kB / 0.7948 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.2358, allocations: 27.94 kB / 0.7948 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2358, allocations: 7.984 kB / 0.7948 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.2358, allocations: 15.8 kB / 0.7948 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2359, allocations: 8 kB / 0.7948 GB, free: 3.801 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.236, allocations: 213.7 kB / 0.795 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.236, allocations: 7.906 kB / 0.795 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.2361, allocations: 16.94 kB / 0.795 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2361, allocations: 0 / 0.795 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2361, allocations: 0 / 0.795 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2361, allocations: 7.891 kB / 0.795 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.2365, allocations: 465.1 kB / 0.7955 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2365, allocations: 7.922 kB / 0.7955 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.2366, allocations: 12.12 kB / 0.7955 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.2366, allocations: 7.891 kB / 0.7955 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2366, allocations: 4 kB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2366, allocations: 0 / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2366, allocations: 0 / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.2367, allocations: 111.5 kB / 0.7956 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.2368, allocations: 96.91 kB / 0.7957 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.2368, allocations: 7.953 kB / 0.7957 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.2368, allocations: 0 / 0.7957 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.2369, allocations: 7.984 kB / 0.7957 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2369, allocations: 0 / 0.7957 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.496e-05/0.237, allocations: 124 kB / 0.7959 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.237, allocations: 0 / 0.7959 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003341/0.2373, allocations: 55.84 kB / 0.7959 GB, free: 2.551 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.39e-05/0.2374, allocations: 103.2 kB / 0.796 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.2376, allocations: 104.9 kB / 0.7961 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2376, allocations: 4 kB / 0.7961 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.2376, allocations: 16.17 kB / 0.7961 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2379, allocations: 26.5 kB / 0.7961 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.2383, allocations: 316.8 kB / 0.7964 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2386, allocations: 0.7202 MB / 0.7972 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.568e-05/0.2387, allocations: 32.41 kB / 0.7972 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.2388, allocations: 11.44 kB / 0.7972 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2388, allocations: 0 / 0.7972 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.002927/0.2417, allocations: 0.7972 MB / 0.798 GB, free: 380 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: