Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 184.1 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008237/0.0008237, allocations: 88.09 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004358, allocations: 9.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.466, allocations: 158.5 MB / 1.055 GB, free: 1.043 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/0.4665, allocations: 103.9 kB / 1.055 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5604/1.027, allocations: 16.56 MB / 1.071 GB, free: 153.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.027, allocations: 4 kB / 1.071 GB, free: 153.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.219e-05/1.027, allocations: 12.97 kB / 1.071 GB, free: 153.8 MB / 0.698 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.001007/1.028, allocations: 0.5319 MB / 1.072 GB, free: 153.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/1.028, allocations: 9.375 kB / 1.072 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.523e-05/1.028, allocations: 62.91 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/1.029, allocations: 97.25 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/1.029, allocations: 254.7 kB / 1.072 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.029, allocations: 13 kB / 1.072 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/1.03, allocations: 28.23 kB / 1.072 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/1.03, allocations: 365.4 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.03, allocations: 7.906 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/1.03, allocations: 6.469 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/1.03, allocations: 15.97 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/1.031, allocations: 311 kB / 1.073 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/1.032, allocations: 1.532 MB / 1.074 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/1.033, allocations: 228.9 kB / 1.075 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/1.033, allocations: 87.38 kB / 1.075 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/1.033, allocations: 33.12 kB / 1.075 GB, free: 151.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/1.033, allocations: 0 / 1.075 GB, free: 151.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001251/1.034, allocations: 0.797 MB / 1.076 GB, free: 150.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/1.034, allocations: 52.78 kB / 1.076 GB, free: 150.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/1.035, allocations: 166.2 kB / 1.076 GB, free: 150.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/1.035, allocations: 31.02 kB / 1.076 GB, free: 150.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/1.035, allocations: 166.4 kB / 1.076 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/1.035, allocations: 68.16 kB / 1.076 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/1.035, allocations: 5.281 kB / 1.076 GB, free: 150.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/1.035, allocations: 330.8 kB / 1.076 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.035, allocations: 109.3 kB / 1.076 GB, free: 150.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/1.035, allocations: 175.8 kB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/1.036, allocations: 135.4 kB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.036, allocations: 1 kB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000692/1.036, allocations: 414.6 kB / 1.077 GB, free: 150 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.036, allocations: 6.125 kB / 1.077 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.036, allocations: 1.281 kB / 1.077 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/1.037, allocations: 97.73 kB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/1.037, allocations: 56.45 kB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/1.039, allocations: 1.762 MB / 1.079 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/1.039, allocations: 14.86 kB / 1.079 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/1.039, allocations: 14.02 kB / 1.079 GB, free: 148.5 MB / 0.698 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.000251/1.039, allocations: 160.5 kB / 1.079 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/1.039, allocations: 15.66 kB / 1.079 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/1.04, allocations: 300.7 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.04, allocations: 2.094 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/1.04, allocations: 0 / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.04, allocations: 9.141 kB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.041, allocations: 0.7071 MB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.041, allocations: 0.875 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/1.041, allocations: 56.92 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.041, allocations: 1.656 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/1.041, allocations: 3.125 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.041, allocations: 5.484 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.041, allocations: 4.062 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/1.042, allocations: 0.5354 MB / 1.081 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.042, allocations: 118.3 kB / 1.081 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/1.042, allocations: 6.438 kB / 1.081 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/1.042, allocations: 16.64 kB / 1.081 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/1.042, allocations: 13.73 kB / 1.081 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/1.042, allocations: 8.547 kB / 1.081 GB, free: 147.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001266/1.043, allocations: 140 kB / 1.081 GB, free: 147.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.043, allocations: 1.062 kB / 1.081 GB, free: 147.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004634/1.043, allocations: 74.03 kB / 1.081 GB, free: 147.4 MB / 0.698 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.00097/1.044, allocations: 1.232 MB / 1.082 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000909/1.045, allocations: 427.1 kB / 1.083 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.045, allocations: 0 / 1.083 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/1.045, allocations: 124.7 kB / 1.083 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/1.046, allocations: 33.66 kB / 1.083 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/1.049, allocations: 2.584 MB / 1.085 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/1.049, allocations: 0.7831 MB / 1.086 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002608/1.049, allocations: 59.92 kB / 1.086 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.05, allocations: 67.78 kB / 1.086 GB, free: 143.6 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.05, allocations: 0.6562 kB / 1.086 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/1.067, allocations: 4.649 MB / 1.091 GB, free: 141.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/1.067, allocations: 234 kB / 1.091 GB, free: 141.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.838, allocations: 0 / 1.091 GB, free: 141.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)