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 1.799/1.799, allocations: 287.4 MB / 303.2 MB, free: 8.176 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.001018/0.001019, allocations: 182.2 kB / 371.8 MB, free: 10.82 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.588/1.588, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0008211/0.0008214, allocations: 90.34 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006237/0.000624, allocations: 15.17 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2682, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003247/0.2715, allocations: 2.661 MB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.2739, allocations: 1.607 MB / 0.9835 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.2741, allocations: 4 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2744, allocations: 31.72 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.275, allocations: 159.3 kB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.2755, allocations: 143.6 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.2759, allocations: 374.8 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.2768, allocations: 0.505 MB / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.277, allocations: 119.5 kB / 0.9847 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.2773, allocations: 143.5 kB / 0.9849 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.2774, allocations: 12 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.2777, allocations: 139.8 kB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2778, allocations: 91.75 kB / 0.9851 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.2779, allocations: 69.52 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.2783, allocations: 311.2 kB / 0.9855 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2783, allocations: 0 / 0.9855 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2783, allocations: 0 / 0.9855 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.2784, allocations: 4 kB / 0.9855 GB, free: 21.78 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.0009776/0.2794, allocations: 0.5029 MB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.2794, allocations: 8.031 kB / 0.986 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007635/0.2802, allocations: 100.5 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.2805, allocations: 265.7 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2805, allocations: 12.81 kB / 0.9863 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2806, allocations: 32.53 kB / 0.9864 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.2812, allocations: 377.1 kB / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2812, allocations: 0 / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.2812, allocations: 8 kB / 0.9867 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.119e-05/0.2813, allocations: 32.42 kB / 0.9868 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.2817, allocations: 301.5 kB / 0.9871 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.2832, allocations: 1.525 MB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.2836, allocations: 231.4 kB / 0.9888 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2838, allocations: 116.8 kB / 0.9889 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.2839, allocations: 93.02 kB / 0.989 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2839, allocations: 38.5 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.284, allocations: 0 / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001091/0.285, allocations: 0.7975 MB / 0.9898 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.2851, allocations: 51.41 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2852, allocations: 190.6 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2853, allocations: 29.7 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.2853, allocations: 167.8 kB / 0.9902 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.2854, allocations: 59.11 kB / 0.9903 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.2854, allocations: 4 kB / 0.9903 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.2855, allocations: 334.8 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2856, allocations: 111.9 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.2858, allocations: 167 kB / 0.9908 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.2861, allocations: 302.9 kB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2861, allocations: 0 / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006284/0.2867, allocations: 406.1 kB / 0.9915 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2867, allocations: 11.97 kB / 0.9915 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2868, allocations: 3.984 kB / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.2871, allocations: 96.77 kB / 0.9916 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.2874, allocations: 51.91 kB / 0.9917 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.2888, allocations: 1.738 MB / 0.9934 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.289, allocations: 16.02 kB / 0.9934 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2891, allocations: 15.98 kB / 0.9934 GB, free: 13.09 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.0001293/0.2892, allocations: 153.7 kB / 0.9936 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.2892, allocations: 15.81 kB / 0.9936 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.2897, allocations: 304.7 kB / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2897, allocations: 3.984 kB / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2897, allocations: 0 / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.2898, allocations: 120.8 kB / 0.994 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.2898, allocations: 4 kB / 0.994 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.29, allocations: 7.984 kB / 0.994 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.29, allocations: 19.92 kB / 0.994 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005957/0.2906, allocations: 393.7 kB / 0.9944 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000492/0.2911, allocations: 0.5753 MB / 0.9949 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001296/0.2913, allocations: 120 kB / 0.9951 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.498e-05/0.2914, allocations: 144 kB / 0.9952 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of Backend: time 9.62e-07/0.2914, allocations: 0 / 0.9952 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009724/0.2924, allocations: 472.6 kB / 0.9956 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001048/0.2934, allocations: 1.124 MB / 0.9967 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of Templates: time 0.007088/0.3005, allocations: 4.144 MB / 1.001 GB, free: 5.414 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)