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.599/1.599, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.000931/0.0009309, allocations: 90.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/4.001e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7468/0.9734, allocations: 158.5 MB / 1.047 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.9737, allocations: 98.25 kB / 1.047 GB, free: 10 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04092/1.015, allocations: 16.46 MB / 1.063 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/1.015, allocations: 0 / 1.063 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.81e-05/1.015, allocations: 4 kB / 1.063 GB, free: 12.18 MB / 0.6823 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.001029/1.016, allocations: 0.512 MB / 1.063 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.016, allocations: 8.031 kB / 1.063 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/1.016, allocations: 59.34 kB / 1.063 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/1.017, allocations: 95.61 kB / 1.063 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/1.017, allocations: 262.2 kB / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/1.017, allocations: 15.5 kB / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/1.018, allocations: 26.67 kB / 1.064 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/1.018, allocations: 353.4 kB / 1.064 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.018, allocations: 0 / 1.064 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.018, allocations: 11.23 kB / 1.064 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/1.018, allocations: 27.67 kB / 1.064 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/1.019, allocations: 302.2 kB / 1.064 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/1.021, allocations: 1.535 MB / 1.066 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/1.021, allocations: 222.2 kB / 1.066 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/1.022, allocations: 118.5 kB / 1.066 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/1.022, allocations: 89.09 kB / 1.066 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.022, allocations: 37.56 kB / 1.066 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/1.022, allocations: 0 / 1.066 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001245/1.023, allocations: 0.686 MB / 1.067 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.023, allocations: 59.03 kB / 1.067 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/1.023, allocations: 168 kB / 1.067 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/1.023, allocations: 37.06 kB / 1.067 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/1.023, allocations: 164.7 kB / 1.067 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/1.023, allocations: 66.2 kB / 1.068 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/1.024, allocations: 3.938 kB / 1.068 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.024, allocations: 326 kB / 1.068 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/1.024, allocations: 112 kB / 1.068 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/1.024, allocations: 166.7 kB / 1.068 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/1.024, allocations: 131 kB / 1.068 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.024, allocations: 0 / 1.068 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007157/1.025, allocations: 407.8 kB / 1.069 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.025, allocations: 8 kB / 1.069 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.025, allocations: 0 / 1.069 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/1.025, allocations: 100.1 kB / 1.069 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/1.026, allocations: 55.86 kB / 1.069 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/1.027, allocations: 1.731 MB / 1.07 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/1.028, allocations: 15.64 kB / 1.07 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/1.028, allocations: 11.25 kB / 1.07 GB, free: 4.906 MB / 0.6823 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 () * 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.0001255/1.028, allocations: 115.3 kB / 1.071 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/1.028, allocations: 23.81 kB / 1.071 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/1.028, allocations: 304 kB / 1.071 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.028, allocations: 0 / 1.071 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/1.028, allocations: 0 / 1.071 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.028, allocations: 0 / 1.071 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/1.029, allocations: 0.7074 MB / 1.072 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/1.029, allocations: 4 kB / 1.072 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/1.03, allocations: 51.95 kB / 1.072 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.03, allocations: 4 kB / 1.072 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/1.03, allocations: 7.859 kB / 1.072 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.03, allocations: 7.953 kB / 1.072 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.03, allocations: 0 / 1.072 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/1.03, allocations: 0.5253 MB / 1.072 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/1.031, allocations: 120.3 kB / 1.072 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/1.031, allocations: 3.312 kB / 1.072 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.031, allocations: 14.61 kB / 1.072 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/1.031, allocations: 7.984 kB / 1.072 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.031, allocations: 11.94 kB / 1.072 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001194/1.031, allocations: 146.6 kB / 1.072 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/1.031, allocations: 0 / 1.072 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003728/1.031, allocations: 78.5 kB / 1.073 GB, free: 3.051 MB / 0.6823 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 () * 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.00104/1.032, allocations: 1.239 MB / 1.074 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007245/1.033, allocations: 406.5 kB / 1.074 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.033, allocations: 0 / 1.074 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.033, allocations: 130.5 kB / 1.074 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/1.034, allocations: 35.09 kB / 1.074 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.035, allocations: 0.5681 MB / 1.075 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/1.035, allocations: 0.7883 MB / 1.076 GB, free: 108 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000178/1.035, allocations: 62.02 kB / 1.076 GB, free: 48 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.036, allocations: 66.36 kB / 1.076 GB, free: 24 kB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/1.036, allocations: 0 / 1.076 GB, free: 24 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/1.053, allocations: 4.675 MB / 1.08 GB, free: 11.53 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.053, allocations: 197.8 kB / 1.08 GB, free: 11.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.784, allocations: 0 / 1.08 GB, free: 11.3 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)