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.001145/0.001145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001246/0.001246, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.602/1.602, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.85/1.85, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001837/0.001837, allocations: 71.73 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005873/0.3293, allocations: 3.104 MB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.3325, allocations: 1.715 MB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.3328, allocations: 4 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3341, allocations: 318.2 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.3348, allocations: 199.3 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.3354, allocations: 163.7 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.3359, allocations: 311.1 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005562/0.3364, allocations: 276.8 kB / 0.7888 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.3367, allocations: 147.5 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.3371, allocations: 167.4 kB / 0.7891 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.3371, allocations: 24 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3376, allocations: 243.5 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3377, allocations: 95.78 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3378, allocations: 127.4 kB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.3384, allocations: 438.7 kB / 0.79 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3384, allocations: 0 / 0.79 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.337e-06/0.3384, allocations: 0 / 0.79 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.3384, allocations: 0 / 0.79 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.001025/0.3394, allocations: 0.5458 MB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3395, allocations: 8.031 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.3403, allocations: 96.55 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.3406, allocations: 252 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3406, allocations: 12.81 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3408, allocations: 36.45 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.3414, allocations: 373.1 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.3414, allocations: 3.984 kB / 0.7913 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.3415, allocations: 8 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.3416, allocations: 32.42 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.3421, allocations: 305.5 kB / 0.7916 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.3442, allocations: 1.525 MB / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.3446, allocations: 236.6 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.3448, allocations: 116.8 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.345, allocations: 89.09 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.345, allocations: 30.56 kB / 0.7935 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.345, allocations: 0 / 0.7935 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.00135/0.3464, allocations: 0.8072 MB / 0.7943 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3464, allocations: 51.41 kB / 0.7944 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3467, allocations: 191.1 kB / 0.7945 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3467, allocations: 29.7 kB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3468, allocations: 159.9 kB / 0.7947 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.3469, allocations: 67.02 kB / 0.7948 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.347, allocations: 61.59 kB / 0.7948 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3472, allocations: 330.8 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.3474, allocations: 111.9 kB / 0.7953 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.3476, allocations: 167.8 kB / 0.7954 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.348, allocations: 305.1 kB / 0.7957 GB, free: 252 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.348, allocations: 0 / 0.7957 GB, free: 252 kB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007715/0.3488, allocations: 418 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3488, allocations: 12 kB / 0.7961 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3488, allocations: 0 / 0.7961 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.3493, allocations: 100.8 kB / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3496, allocations: 55.83 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.3517, allocations: 1.879 MB / 0.7981 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.352, allocations: 19.95 kB / 0.7981 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.352, allocations: 12 kB / 0.7981 GB, free: 13.6 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.0002343/0.3522, allocations: 161.8 kB / 0.7983 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.3523, allocations: 19.81 kB / 0.7983 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.3528, allocations: 291.5 kB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3528, allocations: 4 kB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3528, allocations: 4 kB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3528, allocations: 3.938 kB / 0.7986 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.3537, allocations: 0.7029 MB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3538, allocations: 4 kB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.3541, allocations: 55.89 kB / 0.7993 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3541, allocations: 4 kB / 0.7994 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3541, allocations: 11.92 kB / 0.7994 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3541, allocations: 4 kB / 0.7994 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3541, allocations: 0 / 0.7994 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.3547, allocations: 0.5144 MB / 0.7999 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3549, allocations: 116.9 kB / 0.8 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3549, allocations: 7.906 kB / 0.8 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3551, allocations: 15.98 kB / 0.8 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3552, allocations: 11.98 kB / 0.8 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3552, allocations: 4 kB / 0.8 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001487/0.3553, allocations: 144.1 kB / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3554, allocations: 4.062 kB / 0.8002 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004081/0.3558, allocations: 68 kB / 0.8002 GB, free: 11.36 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.0001983/0.356, allocations: 111.7 kB / 0.8003 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008948/0.3569, allocations: 452.3 kB / 0.8008 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3569, allocations: 0 / 0.8008 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3571, allocations: 115.9 kB / 0.8009 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.3575, allocations: 36.67 kB / 0.8009 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3588, allocations: 0.7288 MB / 0.8016 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3591, allocations: 0.7753 MB / 0.8024 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.3593, allocations: 57.91 kB / 0.8024 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.3594, allocations: 19.44 kB / 0.8025 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.3594, allocations: 0 / 0.8025 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of Templates: time 0.006567/0.3659, allocations: 2.799 MB / 0.8052 GB, free: 6.211 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)