Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.836/2.836, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001512/0.001512, allocations: 183.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001175/0.001175, allocations: 93.55 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007002/0.0007004, allocations: 11.64 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2387, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004143/0.2429, allocations: 2.61 MB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.2462, allocations: 1.58 MB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.2465, allocations: 4 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2467, allocations: 35.77 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.2474, allocations: 155.4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.2481, allocations: 141.6 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.2485, allocations: 171.6 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.2497, allocations: 499.2 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.25, allocations: 91.67 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2503, allocations: 103.6 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.2504, allocations: 12 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.2509, allocations: 135.8 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.251, allocations: 83.78 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.2511, allocations: 69.58 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.2516, allocations: 315.4 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2516, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2516, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.2516, allocations: 0 / 0.984 GB, free: 22.35 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.001049/0.2527, allocations: 0.495 MB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2527, allocations: 16.02 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.2539, allocations: 107.5 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.2544, allocations: 252.5 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.2544, allocations: 16.44 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2545, allocations: 31.98 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.2553, allocations: 369 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2554, allocations: 0 / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.2554, allocations: 15.89 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.2556, allocations: 28.42 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006907/0.2563, allocations: 305.5 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.2587, allocations: 1.529 MB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.2594, allocations: 226.4 kB / 0.9873 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.2596, allocations: 89.09 kB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2597, allocations: 30.56 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/0.2597, allocations: 0 / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.00187/0.2616, allocations: 0.801 MB / 0.9882 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2616, allocations: 55.41 kB / 0.9883 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.2619, allocations: 190.6 kB / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2619, allocations: 33.7 kB / 0.9885 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.262, allocations: 167.8 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.2621, allocations: 67 kB / 0.9887 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.2621, allocations: 4 kB / 0.9887 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.2622, allocations: 334.8 kB / 0.989 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.2625, allocations: 107.9 kB / 0.9891 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.2628, allocations: 170.9 kB / 0.9893 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.2631, allocations: 137.3 kB / 0.9894 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2632, allocations: 0 / 0.9894 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001178/0.2643, allocations: 417.8 kB / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2644, allocations: 4 kB / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2644, allocations: 0 / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.2651, allocations: 101 kB / 0.9899 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.2656, allocations: 51.89 kB / 0.99 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.268, allocations: 1.765 MB / 0.9917 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.2685, allocations: 15.98 kB / 0.9917 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.2686, allocations: 16.06 kB / 0.9917 GB, free: 13.92 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.0002186/0.2688, allocations: 158.3 kB / 0.9919 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.2689, allocations: 19.77 kB / 0.9919 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.2696, allocations: 301.4 kB / 0.9922 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2696, allocations: 4 kB / 0.9922 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2696, allocations: 4 kB / 0.9922 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2696, allocations: 0 / 0.9922 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2709, allocations: 0.7068 MB / 0.9929 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.271, allocations: 4 kB / 0.9929 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/0.2715, allocations: 51.95 kB / 0.9929 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.2715, allocations: 4 kB / 0.9929 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.2716, allocations: 7.984 kB / 0.9929 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2716, allocations: 12 kB / 0.993 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2716, allocations: 0 / 0.993 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.2725, allocations: 0.524 MB / 0.9935 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.2727, allocations: 116.9 kB / 0.9936 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.2727, allocations: 12.06 kB / 0.9936 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.273, allocations: 11.98 kB / 0.9936 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2731, allocations: 11.98 kB / 0.9936 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.2731, allocations: 4 kB / 0.9936 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001632/0.2733, allocations: 156 kB / 0.9938 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2733, allocations: 0 / 0.9938 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005538/0.2739, allocations: 60 kB / 0.9938 GB, free: 11.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 0.0001735/0.2741, allocations: 115.2 kB / 0.9939 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.2751, allocations: 426.7 kB / 0.9943 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2751, allocations: 0 / 0.9943 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.2754, allocations: 119.9 kB / 0.9944 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.2758, allocations: 45.89 kB / 0.9945 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2775, allocations: 0.7553 MB / 0.9952 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2778, allocations: 0.7869 MB / 0.996 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.2782, allocations: 61.89 kB / 0.9961 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2783, allocations: 19.44 kB / 0.9961 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2783, allocations: 0 / 0.9961 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of Templates: time 0.008276/0.2866, allocations: 2.559 MB / 0.9986 GB, free: 6.711 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)