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.761/1.761, allocations: 288.4 MB / 303.7 MB, free: 8.855 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.001049/0.001048, allocations: 172.5 kB / 372.3 MB, free: 6.461 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.803/1.803, allocations: 205.4 MB / 0.631 GB, free: 13.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008517/0.0008518, allocations: 88.22 kB / 0.7444 GB, free: 64.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 12 kB / 0.8675 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 115.3 MB / 0.9801 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003678/0.2785, allocations: 2.664 MB / 0.9827 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2812, allocations: 1.603 MB / 0.9843 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2813, allocations: 3.938 kB / 0.9843 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.2815, allocations: 39.72 kB / 0.9843 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.282, allocations: 187.3 kB / 0.9845 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.2825, allocations: 151.7 kB / 0.9847 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.2829, allocations: 374.8 kB / 0.985 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000939/0.2838, allocations: 0.5283 MB / 0.9855 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.284, allocations: 107.6 kB / 0.9856 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.2844, allocations: 151.5 kB / 0.9858 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.2844, allocations: 16 kB / 0.9858 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.2849, allocations: 267.5 kB / 0.9861 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.285, allocations: 87.75 kB / 0.9861 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.2852, allocations: 137.2 kB / 0.9863 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.2856, allocations: 323.1 kB / 0.9866 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2856, allocations: 0 / 0.9866 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2856, allocations: 4 kB / 0.9866 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2856, allocations: 0 / 0.9866 GB, free: 6.426 MB / 0.7136 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.0009932/0.2866, allocations: 0.4952 MB / 0.9871 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2867, allocations: 8.031 kB / 0.9871 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/0.2875, allocations: 96.55 kB / 0.9872 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.2878, allocations: 261.7 kB / 0.9874 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2879, allocations: 16.81 kB / 0.9874 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.288, allocations: 24.56 kB / 0.9875 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.2886, allocations: 381.1 kB / 0.9878 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2886, allocations: 0 / 0.9878 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.2887, allocations: 11.98 kB / 0.9878 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.489e-05/0.2888, allocations: 28.42 kB / 0.9879 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.2893, allocations: 305.5 kB / 0.9881 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2911, allocations: 1.533 MB / 0.9896 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.2915, allocations: 234.4 kB / 0.9899 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2917, allocations: 112.8 kB / 0.99 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.2919, allocations: 89.09 kB / 0.9901 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2919, allocations: 34.56 kB / 0.9901 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.335e-06/0.292, allocations: 0 / 0.9901 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.2933, allocations: 0.7884 MB / 0.9909 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2933, allocations: 51.41 kB / 0.9909 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2935, allocations: 194.6 kB / 0.9911 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2935, allocations: 29.7 kB / 0.9911 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2937, allocations: 167.8 kB / 0.9913 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.2937, allocations: 71 kB / 0.9914 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.2937, allocations: 8 kB / 0.9914 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2939, allocations: 330.8 kB / 0.9917 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2941, allocations: 111.9 kB / 0.9918 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2943, allocations: 167 kB / 0.9919 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.2947, allocations: 293.7 kB / 0.9922 GB, free: 216 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2947, allocations: 0 / 0.9922 GB, free: 216 kB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000732/0.2954, allocations: 417.8 kB / 0.9926 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2954, allocations: 6.344 kB / 0.9926 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2954, allocations: 4 kB / 0.9926 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.2959, allocations: 96.95 kB / 0.9927 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2961, allocations: 59.89 kB / 0.9928 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.298, allocations: 1.726 MB / 0.9945 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2982, allocations: 23.94 kB / 0.9945 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.2982, allocations: 12 kB / 0.9945 GB, free: 13.73 MB / 0.7292 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.0001717/0.2984, allocations: 157.8 kB / 0.9947 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.2984, allocations: 15.81 kB / 0.9947 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.2989, allocations: 309 kB / 0.995 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.299, allocations: 4 kB / 0.995 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.299, allocations: 0 / 0.995 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.299, allocations: 0 / 0.995 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.2999, allocations: 0.7029 MB / 0.9957 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2999, allocations: 0 / 0.9957 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.3002, allocations: 59.89 kB / 0.9957 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3002, allocations: 0 / 0.9957 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3003, allocations: 8 kB / 0.9957 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3003, allocations: 0 / 0.9957 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3003, allocations: 3.938 kB / 0.9957 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.3009, allocations: 0.5164 MB / 0.9962 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.301, allocations: 116.9 kB / 0.9963 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3011, allocations: 3.984 kB / 0.9963 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3012, allocations: 19.92 kB / 0.9964 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.3013, allocations: 7.984 kB / 0.9964 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3013, allocations: 12 kB / 0.9964 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001301/0.3015, allocations: 144 kB / 0.9965 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3015, allocations: 4.062 kB / 0.9965 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003597/0.3018, allocations: 68 kB / 0.9966 GB, free: 11.48 MB / 0.7292 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.0001654/0.302, allocations: 107.2 kB / 0.9967 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.3027, allocations: 428.8 kB / 0.9971 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3027, allocations: 4.125 kB / 0.9971 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3029, allocations: 119.8 kB / 0.9972 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3033, allocations: 39.91 kB / 0.9973 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3045, allocations: 0.7487 MB / 0.998 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3049, allocations: 0.7791 MB / 0.9987 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.3051, allocations: 61.89 kB / 0.9988 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.3052, allocations: 19.44 kB / 0.9988 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.3052, allocations: 0 / 0.9988 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of Templates: time 0.005377/0.3106, allocations: 2.57 MB / 1.001 GB, free: 6.547 MB / 0.7292 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)