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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001574/0.001573, allocations: 193.7 kB / 376.9 MB, free: 1.816 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.825/1.825, allocations: 205 MB / 0.6353 GB, free: 9.789 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.001057/0.001057, allocations: 101.2 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2836, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005537/0.2892, allocations: 3.116 MB / 0.9853 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.2923, allocations: 1.742 MB / 0.987 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2926, allocations: 4 kB / 0.987 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.2938, allocations: 303 kB / 0.9873 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.2945, allocations: 203.3 kB / 0.9875 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.2952, allocations: 155.7 kB / 0.9876 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.2958, allocations: 470.8 kB / 0.9881 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005777/0.2964, allocations: 248.8 kB / 0.9883 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.2968, allocations: 123.5 kB / 0.9884 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.2973, allocations: 163.4 kB / 0.9886 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.2974, allocations: 16 kB / 0.9886 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.298, allocations: 295.4 kB / 0.9889 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2982, allocations: 91.72 kB / 0.989 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2984, allocations: 119.5 kB / 0.9891 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.2991, allocations: 426.7 kB / 0.9895 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2992, allocations: 4 kB / 0.9895 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2992, allocations: 0 / 0.9895 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.2992, allocations: 0 / 0.9895 GB, free: 2.906 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.001307/0.3005, allocations: 0.5458 MB / 0.99 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3006, allocations: 8.031 kB / 0.99 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.3014, allocations: 96.55 kB / 0.9901 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.3019, allocations: 255.9 kB / 0.9904 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3019, allocations: 16.81 kB / 0.9904 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3021, allocations: 20.56 kB / 0.9904 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.3027, allocations: 381 kB / 0.9908 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3028, allocations: 0 / 0.9908 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.3028, allocations: 11.98 kB / 0.9908 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3029, allocations: 36.41 kB / 0.9908 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.3035, allocations: 305.5 kB / 0.9911 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.3057, allocations: 1.522 MB / 0.9926 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.3062, allocations: 241.2 kB / 0.9928 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3064, allocations: 120.7 kB / 0.9929 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.3066, allocations: 89.09 kB / 0.993 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3066, allocations: 38.56 kB / 0.993 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.3066, allocations: 0 / 0.993 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.001425/0.3081, allocations: 0.7887 MB / 0.9938 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3081, allocations: 59.39 kB / 0.9939 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3083, allocations: 190.6 kB / 0.9941 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3084, allocations: 29.7 kB / 0.9941 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3085, allocations: 159.8 kB / 0.9942 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.3086, allocations: 67.08 kB / 0.9943 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3087, allocations: 61.59 kB / 0.9944 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3088, allocations: 326.8 kB / 0.9947 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.309, allocations: 119.9 kB / 0.9948 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.3092, allocations: 167 kB / 0.9949 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.3097, allocations: 297.8 kB / 0.9952 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3097, allocations: 0 / 0.9952 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007803/0.3105, allocations: 421.9 kB / 0.9956 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3105, allocations: 8 kB / 0.9956 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3105, allocations: 0 / 0.9956 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.311, allocations: 92.77 kB / 0.9957 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3112, allocations: 59.89 kB / 0.9958 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.3132, allocations: 1.737 MB / 0.9975 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3134, allocations: 20.19 kB / 0.9975 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3135, allocations: 12 kB / 0.9975 GB, free: 10.09 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 (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.000179/0.3137, allocations: 161.6 kB / 0.9977 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.3137, allocations: 19.81 kB / 0.9977 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.3142, allocations: 299.4 kB / 0.998 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3142, allocations: 0 / 0.998 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3142, allocations: 4 kB / 0.998 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3142, allocations: 0 / 0.998 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.3152, allocations: 0.7007 MB / 0.9987 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3152, allocations: 0 / 0.9987 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.3155, allocations: 63.89 kB / 0.9987 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3155, allocations: 4 kB / 0.9987 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3155, allocations: 8 kB / 0.9987 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3155, allocations: 3.938 kB / 0.9987 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3155, allocations: 7.938 kB / 0.9987 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.318, allocations: 1.972 MB / 1.001 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3181, allocations: 116.8 kB / 1.001 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.3181, allocations: 11.98 kB / 1.001 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3183, allocations: 11.98 kB / 1.001 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3183, allocations: 15.98 kB / 1.001 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3184, allocations: 8 kB / 1.001 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001411/0.3185, allocations: 148.1 kB / 1.001 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.3185, allocations: 0 / 1.001 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004548/0.319, allocations: 84 kB / 1.001 GB, free: 6.234 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 (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.0002044/0.3192, allocations: 103.3 kB / 1.001 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007585/0.32, allocations: 430.3 kB / 1.002 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.32, allocations: 4 kB / 1.002 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3202, allocations: 124.2 kB / 1.002 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3206, allocations: 31.92 kB / 1.002 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.322, allocations: 0.9022 MB / 1.003 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3224, allocations: 0.783 MB / 1.003 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.3226, allocations: 57.91 kB / 1.003 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.3227, allocations: 19.44 kB / 1.003 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/0.3227, allocations: 4 kB / 1.003 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of Templates: time 0.006682/0.3294, allocations: 3.048 MB / 1.006 GB, free: 0.6562 MB / 0.7292 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)