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.678/2.678, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001313/0.001313, allocations: 185.9 kB / 371 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.164/2.164, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009254/0.000925, allocations: 94.78 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005222, allocations: 10.69 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004196/0.2375, allocations: 2.657 MB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2409, allocations: 1.607 MB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.2411, allocations: 8 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.2414, allocations: 39.64 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006369/0.242, allocations: 155.3 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.2427, allocations: 135.7 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.2431, allocations: 374.9 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.2443, allocations: 499.2 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.2446, allocations: 111.6 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.245, allocations: 143.5 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.2451, allocations: 12 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.2456, allocations: 143.8 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2457, allocations: 87.77 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.2458, allocations: 69.52 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.2463, allocations: 311.5 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2463, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2463, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2463, allocations: 0 / 0.9845 GB, free: 21.98 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.001088/0.2474, allocations: 0.5067 MB / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2475, allocations: 8.031 kB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.2486, allocations: 99.56 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.249, allocations: 262.6 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.249, allocations: 12.44 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.2492, allocations: 31.98 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.25, allocations: 373 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.25, allocations: 0 / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.2501, allocations: 11.95 kB / 0.9858 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.2502, allocations: 32.41 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.2509, allocations: 305.5 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.2533, allocations: 1.522 MB / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/0.254, allocations: 231 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2542, allocations: 116.8 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.2544, allocations: 101 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2544, allocations: 30.56 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.665e-06/0.2544, allocations: 0 / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001735/0.2562, allocations: 0.7912 MB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.2562, allocations: 59.39 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.2565, allocations: 190.6 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2565, allocations: 33.7 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.2566, allocations: 163.8 kB / 0.9892 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.2567, allocations: 71 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.2567, allocations: 8 kB / 0.9893 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.2568, allocations: 334.7 kB / 0.9896 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.2571, allocations: 111.9 kB / 0.9897 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.2574, allocations: 171 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.2577, allocations: 137.2 kB / 0.99 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2577, allocations: 0 / 0.99 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001113/0.2588, allocations: 417.9 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2589, allocations: 8 kB / 0.9904 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2589, allocations: 0 / 0.9904 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.2595, allocations: 104.9 kB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.26, allocations: 47.91 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.2623, allocations: 1.734 MB / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.2628, allocations: 15.98 kB / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.2629, allocations: 8 kB / 0.9923 GB, free: 13.45 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.0002156/0.2631, allocations: 158.3 kB / 0.9925 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.2632, allocations: 19.77 kB / 0.9925 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000756/0.2639, allocations: 302.4 kB / 0.9928 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.264, allocations: 0 / 0.9928 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.264, allocations: 0 / 0.9928 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.264, allocations: 0 / 0.9928 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2652, allocations: 0.7086 MB / 0.9935 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2653, allocations: 12.05 kB / 0.9935 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.2658, allocations: 59.89 kB / 0.9935 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.2659, allocations: 4 kB / 0.9935 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.2659, allocations: 0 / 0.9935 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2659, allocations: 4 kB / 0.9935 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2659, allocations: 0 / 0.9935 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.2668, allocations: 0.509 MB / 0.994 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.267, allocations: 120.8 kB / 0.9941 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.267, allocations: 8 kB / 0.9941 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.2673, allocations: 11.92 kB / 0.9942 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.2674, allocations: 15.98 kB / 0.9942 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.2674, allocations: 4 kB / 0.9942 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001789/0.2676, allocations: 148 kB / 0.9943 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2676, allocations: 0 / 0.9943 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004981/0.2681, allocations: 67.98 kB / 0.9944 GB, free: 11.21 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.0001787/0.2683, allocations: 111.2 kB / 0.9945 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.2694, allocations: 422.2 kB / 0.9949 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2694, allocations: 384 / 0.9949 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.2697, allocations: 123.9 kB / 0.995 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.2702, allocations: 44 kB / 0.9951 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.272, allocations: 0.7565 MB / 0.9958 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2723, allocations: 0.779 MB / 0.9966 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.2726, allocations: 57.91 kB / 0.9966 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2727, allocations: 19.44 kB / 0.9966 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of SimCode: time 1.343e-06/0.2728, allocations: 3.938 kB / 0.9966 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of Templates: time 0.008178/0.2809, allocations: 2.572 MB / 0.9991 GB, free: 6.27 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)