Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001054/0.001054, allocations: 179.6 kB / 371.8 MB, free: 10.27 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.667/1.667, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008349/0.0008349, allocations: 97.56 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 16.09 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002953/0.2123, allocations: 2.611 MB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2142, allocations: 1.591 MB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2144, allocations: 4 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.2146, allocations: 31.78 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.215, allocations: 151.4 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.2155, allocations: 139.7 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.2157, allocations: 179.6 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.2164, allocations: 495.6 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2166, allocations: 87.69 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.2168, allocations: 107.6 kB / 0.9847 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.2169, allocations: 12 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.2171, allocations: 135.8 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.2172, allocations: 83.78 kB / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.2173, allocations: 65.58 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.2176, allocations: 323.2 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2176, allocations: 0 / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2176, allocations: 0 / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.2176, allocations: 0 / 0.9853 GB, free: 21.55 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.0008/0.2184, allocations: 0.5028 MB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2185, allocations: 8.031 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.879e-05/0.2186, allocations: 62.52 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/0.2193, allocations: 107.6 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.2196, allocations: 251.1 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2196, allocations: 20.42 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.2197, allocations: 20 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.2202, allocations: 365 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2202, allocations: 15.92 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.2202, allocations: 19.89 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.231e-05/0.2203, allocations: 24.42 kB / 0.9867 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.2207, allocations: 309.5 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.2222, allocations: 1.529 MB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.2226, allocations: 232.4 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.2227, allocations: 81.11 kB / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2227, allocations: 38.56 kB / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.2227, allocations: 0 / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001008/0.2238, allocations: 0.7999 MB / 0.9896 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.2238, allocations: 51.41 kB / 0.9896 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2239, allocations: 194.6 kB / 0.9898 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.224, allocations: 25.7 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.224, allocations: 163.8 kB / 0.99 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.2241, allocations: 67 kB / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.2241, allocations: 4 kB / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.2241, allocations: 330.8 kB / 0.9904 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2243, allocations: 119.9 kB / 0.9905 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2244, allocations: 163 kB / 0.9906 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2246, allocations: 141.2 kB / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2246, allocations: 0 / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006077/0.2253, allocations: 418.7 kB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2253, allocations: 5.25 kB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2253, allocations: 4 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.2257, allocations: 96.95 kB / 0.9913 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2259, allocations: 59.89 kB / 0.9913 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2273, allocations: 1.757 MB / 0.993 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.2275, allocations: 16.02 kB / 0.9931 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.2276, allocations: 12 kB / 0.9931 GB, free: 13.05 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.0001179/0.2277, allocations: 162.3 kB / 0.9932 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.2277, allocations: 19.77 kB / 0.9932 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.2281, allocations: 303.2 kB / 0.9935 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2282, allocations: 3.953 kB / 0.9935 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.2282, allocations: 4 kB / 0.9935 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2282, allocations: 7.938 kB / 0.9935 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.2289, allocations: 0.6952 MB / 0.9942 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2289, allocations: 3.953 kB / 0.9942 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.2292, allocations: 59.89 kB / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2292, allocations: 0 / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2292, allocations: 11.98 kB / 0.9943 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2292, allocations: 0 / 0.9943 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2292, allocations: 4.062 kB / 0.9943 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.2297, allocations: 0.5317 MB / 0.9948 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.2298, allocations: 116.9 kB / 0.9949 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.2299, allocations: 4 kB / 0.9949 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.23, allocations: 16.05 kB / 0.995 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.2301, allocations: 15.92 kB / 0.995 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2301, allocations: 4 kB / 0.995 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.448e-05/0.2302, allocations: 148 kB / 0.9951 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2302, allocations: 0 / 0.9951 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003632/0.2306, allocations: 68 kB / 0.9952 GB, free: 10.77 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.000697/0.2313, allocations: 1.222 MB / 0.9964 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000591/0.2319, allocations: 422.6 kB / 0.9968 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2319, allocations: 4 kB / 0.9968 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.232, allocations: 119.9 kB / 0.9969 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2323, allocations: 28.12 kB / 0.9969 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.2349, allocations: 2.591 MB / 0.9994 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2351, allocations: 0.7831 MB / 1 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.2353, allocations: 53.91 kB / 1 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2354, allocations: 67.41 kB / 1 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of SimCode: time 1.203e-06/0.2354, allocations: 3.938 kB / 1 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.2511, allocations: 4.654 MB / 1.005 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.2512, allocations: 238.6 kB / 1.005 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.929, allocations: 0 / 1.005 GB, free: 0.6367 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)