Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.4 MB / 304.3 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000996/0.0009963, allocations: 181.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.6316 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008167/0.0008167, allocations: 102.1 kB / 0.745 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 16.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002825/0.2206, allocations: 2.653 MB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2226, allocations: 1.607 MB / 0.9849 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2227, allocations: 4 kB / 0.9849 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.2229, allocations: 39.7 kB / 0.985 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.2234, allocations: 191.2 kB / 0.9851 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.2238, allocations: 147.6 kB / 0.9853 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2241, allocations: 374.9 kB / 0.9856 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.2248, allocations: 0.5205 MB / 0.9861 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2249, allocations: 111.6 kB / 0.9862 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.2252, allocations: 147.5 kB / 0.9864 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2252, allocations: 15.94 kB / 0.9864 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.2256, allocations: 279.4 kB / 0.9867 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.2257, allocations: 87.77 kB / 0.9868 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.2257, allocations: 125.2 kB / 0.9869 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.226, allocations: 319.2 kB / 0.9872 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.226, allocations: 0 / 0.9872 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2261, allocations: 0 / 0.9872 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2261, allocations: 0 / 0.9872 GB, free: 20.71 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007041/0.2268, allocations: 0.5146 MB / 0.9877 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2268, allocations: 8.031 kB / 0.9877 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.2274, allocations: 92.55 kB / 0.9878 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2277, allocations: 253.9 kB / 0.988 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2277, allocations: 16.81 kB / 0.988 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.2278, allocations: 28.55 kB / 0.9881 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.2283, allocations: 373.1 kB / 0.9884 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2283, allocations: 4 kB / 0.9884 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.2283, allocations: 11.98 kB / 0.9884 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-05/0.2284, allocations: 24.42 kB / 0.9885 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.2288, allocations: 309.5 kB / 0.9887 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2302, allocations: 1.529 MB / 0.9902 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.2306, allocations: 230.4 kB / 0.9905 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2307, allocations: 116.7 kB / 0.9906 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.2309, allocations: 89.09 kB / 0.9907 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.2309, allocations: 38.56 kB / 0.9907 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2309, allocations: 0 / 0.9907 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001024/0.2319, allocations: 0.79 MB / 0.9915 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.232, allocations: 59.34 kB / 0.9915 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2321, allocations: 190.6 kB / 0.9917 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2322, allocations: 25.7 kB / 0.9917 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2322, allocations: 171.8 kB / 0.9919 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2323, allocations: 63.11 kB / 0.992 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.2323, allocations: 7.938 kB / 0.992 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2323, allocations: 334.8 kB / 0.9923 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2325, allocations: 111.9 kB / 0.9924 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.2327, allocations: 163 kB / 0.9925 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.233, allocations: 295.9 kB / 0.9928 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.233, allocations: 4 kB / 0.9928 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006564/0.2336, allocations: 413.8 kB / 0.9932 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2337, allocations: 11.94 kB / 0.9932 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2337, allocations: 0 / 0.9932 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.2341, allocations: 100.9 kB / 0.9933 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.2344, allocations: 51.91 kB / 0.9934 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.236, allocations: 1.738 MB / 0.9951 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.2362, allocations: 15.98 kB / 0.9951 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2363, allocations: 4 kB / 0.9951 GB, free: 12.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.2364, allocations: 165.8 kB / 0.9953 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.2365, allocations: 15.81 kB / 0.9953 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.2369, allocations: 300.8 kB / 0.9956 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.237, allocations: 3.984 kB / 0.9956 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.237, allocations: 0 / 0.9956 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.2371, allocations: 112.8 kB / 0.9957 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.2371, allocations: 11.98 kB / 0.9957 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2373, allocations: 15.98 kB / 0.9957 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.2373, allocations: 15.86 kB / 0.9957 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006021/0.238, allocations: 388.7 kB / 0.9961 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005178/0.2385, allocations: 0.5755 MB / 0.9966 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001388/0.2386, allocations: 124 kB / 0.9968 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2387, allocations: 152 kB / 0.9969 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of Backend: time 1.172e-06/0.2388, allocations: 0 / 0.9969 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.24, allocations: 0.5161 MB / 0.9974 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001184/0.2413, allocations: 1.121 MB / 0.9985 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of Templates: time 0.007407/0.2487, allocations: 4.191 MB / 1.003 GB, free: 4.25 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)