Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001659/0.001659, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 222 MB, free: 5 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.74/1.74, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001478/0.001479, allocations: 63.84 kB / 0.6708 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.28, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005695/0.2858, allocations: 3.116 MB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.2887, allocations: 1.735 MB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.289, allocations: 7.938 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.2901, allocations: 307 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.2907, allocations: 199.3 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.2913, allocations: 163.7 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.292, allocations: 458.8 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.2926, allocations: 256.8 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.2929, allocations: 115.6 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.2933, allocations: 163.4 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.2934, allocations: 19.94 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.2939, allocations: 287.5 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.2941, allocations: 95.78 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2942, allocations: 119.3 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.2949, allocations: 430.7 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2949, allocations: 0 / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2949, allocations: 0 / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2949, allocations: 0 / 0.7899 GB, free: 6.562 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001183/0.2961, allocations: 0.542 MB / 0.7905 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2962, allocations: 12.03 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.297, allocations: 92.55 kB / 0.7906 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.2974, allocations: 267.8 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.2974, allocations: 16.75 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.2975, allocations: 28.55 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.298, allocations: 365.2 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2981, allocations: 7.938 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2981, allocations: 11.98 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.87e-05/0.2982, allocations: 32.41 kB / 0.7912 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.2987, allocations: 305.5 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3005, allocations: 1.525 MB / 0.793 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.3009, allocations: 234.4 kB / 0.7933 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3011, allocations: 112.8 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.3013, allocations: 89.09 kB / 0.7934 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3013, allocations: 30.56 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.3013, allocations: 0 / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001345/0.3027, allocations: 0.7999 MB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3027, allocations: 55.39 kB / 0.7943 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3029, allocations: 191.1 kB / 0.7945 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.303, allocations: 29.7 kB / 0.7945 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3031, allocations: 167.8 kB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.3032, allocations: 63.09 kB / 0.7947 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3033, allocations: 61.59 kB / 0.7948 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3034, allocations: 338.8 kB / 0.7951 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3036, allocations: 115.9 kB / 0.7952 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.3038, allocations: 163.8 kB / 0.7954 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.3043, allocations: 300.6 kB / 0.7957 GB, free: 244 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3043, allocations: 4 kB / 0.7957 GB, free: 240 kB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008199/0.3051, allocations: 420.2 kB / 0.7961 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3051, allocations: 4 kB / 0.7961 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3051, allocations: 4 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.3056, allocations: 96.83 kB / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3058, allocations: 51.95 kB / 0.7962 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.3077, allocations: 1.738 MB / 0.7979 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.308, allocations: 15.97 kB / 0.7979 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.308, allocations: 8 kB / 0.7979 GB, free: 13.76 MB / 0.6231 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.0001759/0.3082, allocations: 169.6 kB / 0.7981 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.3083, allocations: 15.81 kB / 0.7981 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.3088, allocations: 303.4 kB / 0.7984 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.3088, allocations: 4 kB / 0.7984 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3088, allocations: 0 / 0.7984 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3088, allocations: 0 / 0.7984 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.3097, allocations: 0.7028 MB / 0.7991 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3097, allocations: 4.062 kB / 0.7991 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.31, allocations: 59.89 kB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.31, allocations: 7.938 kB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3101, allocations: 4.188 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.3101, allocations: 8 kB / 0.7992 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3101, allocations: 3.938 kB / 0.7992 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.3107, allocations: 0.5103 MB / 0.7997 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3108, allocations: 116.9 kB / 0.7998 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.3108, allocations: 7.938 kB / 0.7998 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.311, allocations: 23.86 kB / 0.7998 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.311, allocations: 11.89 kB / 0.7998 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3111, allocations: 8 kB / 0.7998 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001323/0.3112, allocations: 144.6 kB / 0.8 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3112, allocations: 0 / 0.8 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003633/0.3116, allocations: 64 kB / 0.8 GB, free: 11.49 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.3117, allocations: 107.3 kB / 0.8001 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007086/0.3125, allocations: 421 kB / 0.8006 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3125, allocations: 384 / 0.8006 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3127, allocations: 130.5 kB / 0.8007 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3131, allocations: 35.97 kB / 0.8007 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3145, allocations: 0.7165 MB / 0.8014 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.3149, allocations: 0.7752 MB / 0.8022 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.3151, allocations: 61.89 kB / 0.8022 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.3152, allocations: 31.36 kB / 0.8023 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.3152, allocations: 0 / 0.8023 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of Templates: time 0.006413/0.3216, allocations: 2.673 MB / 0.8049 GB, free: 6.496 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)