Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.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.402/1.402, allocations: 251.5 MB / 267.4 MB, free: 10.89 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.001126/0.001126, allocations: 167.7 kB / 326.5 MB, free: 2.664 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.8/1.8, allocations: 205 MB / 0.5767 GB, free: 20.93 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.0007675/0.0007675, allocations: 92.53 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 15.41 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003162/0.2173, allocations: 2.79 MB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2194, allocations: 1.746 MB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2195, allocations: 3.938 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007899/0.2203, allocations: 303 kB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.2206, allocations: 199.3 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.2209, allocations: 167.7 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.2213, allocations: 458.8 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.2216, allocations: 244.6 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.2218, allocations: 111.5 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.222, allocations: 155.5 kB / 0.9028 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2221, allocations: 8 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.2224, allocations: 283.5 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.2225, allocations: 91.7 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.2226, allocations: 107.4 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.2229, allocations: 422.6 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2229, allocations: 4 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.223, allocations: 0 / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.223, allocations: 3.938 kB / 0.9036 GB, free: 61.09 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007351/0.2237, allocations: 0.503 MB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2238, allocations: 8.031 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.2244, allocations: 92.55 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2247, allocations: 266 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2247, allocations: 16.8 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.2248, allocations: 24.56 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.2252, allocations: 381.1 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2253, allocations: 0 / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2253, allocations: 8 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.28e-05/0.2254, allocations: 32.42 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.2258, allocations: 305.5 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.2271, allocations: 1.529 MB / 0.9067 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2275, allocations: 240.3 kB / 0.9069 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.2276, allocations: 116.8 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.2277, allocations: 85.09 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2278, allocations: 34.5 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.2278, allocations: 4 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001026/0.2288, allocations: 0.7892 MB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.2288, allocations: 51.41 kB / 0.908 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.229, allocations: 191.2 kB / 0.9082 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.229, allocations: 29.7 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.2291, allocations: 163.8 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.2291, allocations: 70.95 kB / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2292, allocations: 29.7 kB / 0.9084 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.2292, allocations: 338.8 kB / 0.9088 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2294, allocations: 111.9 kB / 0.9089 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2295, allocations: 171 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.2298, allocations: 292.7 kB / 0.9093 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2298, allocations: 3.938 kB / 0.9093 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005971/0.2304, allocations: 413.9 kB / 0.9097 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2305, allocations: 16.12 kB / 0.9097 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2305, allocations: 0 / 0.9097 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.2309, allocations: 100.8 kB / 0.9098 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2311, allocations: 47.91 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.2324, allocations: 1.741 MB / 0.9116 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2326, allocations: 16.02 kB / 0.9116 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2327, allocations: 8 kB / 0.9116 GB, free: 52.35 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2328, allocations: 161.7 kB / 0.9117 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2328, allocations: 15.81 kB / 0.9118 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.2332, allocations: 301.8 kB / 0.9121 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2332, allocations: 3.984 kB / 0.9121 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2332, allocations: 3.938 kB / 0.9121 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.2333, allocations: 112.9 kB / 0.9122 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.2334, allocations: 7.984 kB / 0.9122 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2335, allocations: 11.98 kB / 0.9122 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.2336, allocations: 15.92 kB / 0.9122 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005535/0.2341, allocations: 396.7 kB / 0.9126 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000457/0.2346, allocations: 0.582 MB / 0.9131 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001177/0.2347, allocations: 116 kB / 0.9133 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.548e-05/0.2348, allocations: 148 kB / 0.9134 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of Backend: time 1.813e-06/0.2348, allocations: 0 / 0.9134 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000978/0.2358, allocations: 0.5254 MB / 0.9139 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009495/0.2368, allocations: 1.076 MB / 0.915 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.007439/0.2442, allocations: 4.26 MB / 0.9191 GB, free: 44.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)