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.852/1.852, allocations: 288.4 MB / 303.3 MB, free: 8.266 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.00129/0.001289, allocations: 180.5 kB / 372 MB, free: 10.29 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.655/1.655, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008128/0.0008128, allocations: 87.92 kB / 0.744 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005993, allocations: 10.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2334, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003242/0.2367, allocations: 2.649 MB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2388, allocations: 1.614 MB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.239, allocations: 7.938 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.2392, allocations: 35.66 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.2396, allocations: 167.3 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.24, allocations: 131.7 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.2403, allocations: 370.9 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/0.241, allocations: 0.4942 MB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2412, allocations: 107.6 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.2415, allocations: 147.5 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.2415, allocations: 16 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.2417, allocations: 139.8 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.2418, allocations: 91.75 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.2419, allocations: 61.64 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.2422, allocations: 319.2 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2422, allocations: 0 / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2422, allocations: 0 / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2422, allocations: 0 / 0.9858 GB, free: 21.2 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.0007989/0.243, allocations: 0.5067 MB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2431, allocations: 8.031 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.2431, allocations: 58.55 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.2438, allocations: 95.56 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.2442, allocations: 251.3 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2442, allocations: 24.36 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.2443, allocations: 24 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.2448, allocations: 369 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2448, allocations: 0 / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.2448, allocations: 11.95 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/0.2449, allocations: 36.34 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.2453, allocations: 309.4 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2466, allocations: 1.525 MB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.247, allocations: 238.4 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.2471, allocations: 112.8 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.2472, allocations: 93.36 kB / 0.9894 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.2472, allocations: 34.55 kB / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.2472, allocations: 0 / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009986/0.2483, allocations: 0.7919 MB / 0.9902 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.2483, allocations: 55.41 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2484, allocations: 190.6 kB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2484, allocations: 29.7 kB / 0.9904 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.2485, allocations: 163.8 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.2485, allocations: 74.98 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.2486, allocations: 4 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.2486, allocations: 334.8 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2488, allocations: 111.9 kB / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2489, allocations: 166.9 kB / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2491, allocations: 137.5 kB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2491, allocations: 0 / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006094/0.2497, allocations: 422.5 kB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2497, allocations: 4 kB / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2498, allocations: 0 / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.2501, allocations: 96.77 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2504, allocations: 56.02 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.2517, allocations: 1.734 MB / 0.9936 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2519, allocations: 16.02 kB / 0.9936 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.252, allocations: 8 kB / 0.9937 GB, free: 12.61 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.0001392/0.2521, allocations: 158.3 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.2522, allocations: 19.77 kB / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.2526, allocations: 307.3 kB / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2526, allocations: 0 / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.2526, allocations: 0 / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2526, allocations: 4 kB / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/0.2534, allocations: 0.699 MB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2534, allocations: 0 / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.2537, allocations: 64.02 kB / 0.9949 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2537, allocations: 3.938 kB / 0.9949 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2537, allocations: 11.98 kB / 0.9949 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2537, allocations: 0 / 0.9949 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2537, allocations: 3.938 kB / 0.9949 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.2542, allocations: 0.5097 MB / 0.9954 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2543, allocations: 124.9 kB / 0.9955 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.2544, allocations: 7.938 kB / 0.9955 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2546, allocations: 15.98 kB / 0.9955 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.2546, allocations: 7.984 kB / 0.9955 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2546, allocations: 4 kB / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000125/0.2548, allocations: 152 kB / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2548, allocations: 0 / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003526/0.2551, allocations: 60 kB / 0.9957 GB, free: 10.37 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.0007601/0.2559, allocations: 1.072 MB / 0.9968 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006552/0.2566, allocations: 422.6 kB / 0.9972 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2566, allocations: 0 / 0.9972 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2567, allocations: 127.8 kB / 0.9973 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.2571, allocations: 28.17 kB / 0.9973 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.2594, allocations: 1.682 MB / 0.999 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.2596, allocations: 0.7675 MB / 0.9997 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.2598, allocations: 57.91 kB / 0.9998 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.2599, allocations: 67.41 kB / 0.9998 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2599, allocations: 7.938 kB / 0.9999 GB, free: 6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.2764, allocations: 4.666 MB / 1.004 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.2766, allocations: 236.6 kB / 1.005 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.255, allocations: 3.938 kB / 1.005 GB, free: 1.312 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)