Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.377/2.377, allocations: 248.5 MB / 261.1 MB, free: 5.969 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.001467/0.001467, allocations: 190.1 kB / 320.4 MB, free: 15.35 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.987/1.987, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.00105/0.00105, allocations: 94.42 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.923e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2032, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.888/1.091, allocations: 158.3 MB / 1.045 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/1.092, allocations: 95.12 kB / 1.045 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.06948/1.161, allocations: 16.47 MB / 1.061 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/1.161, allocations: 0 / 1.061 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.161, allocations: 4 kB / 1.061 GB, free: 12.55 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.001161/1.162, allocations: 0.5206 MB / 1.062 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.162, allocations: 12.03 kB / 1.062 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/1.163, allocations: 53.55 kB / 1.062 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/1.164, allocations: 94.8 kB / 1.062 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/1.165, allocations: 268 kB / 1.062 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/1.165, allocations: 14.69 kB / 1.062 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/1.165, allocations: 22.81 kB / 1.062 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008583/1.166, allocations: 358.5 kB / 1.063 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.166, allocations: 4 kB / 1.063 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/1.166, allocations: 10.94 kB / 1.063 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/1.166, allocations: 27.92 kB / 1.063 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/1.167, allocations: 298.7 kB / 1.063 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/1.169, allocations: 1.52 MB / 1.065 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/1.17, allocations: 237.5 kB / 1.065 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/1.17, allocations: 115.9 kB / 1.065 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.171, allocations: 85.11 kB / 1.065 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.171, allocations: 34.44 kB / 1.065 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.756e-06/1.171, allocations: 0 / 1.065 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001737/1.172, allocations: 0.7032 MB / 1.066 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.172, allocations: 55.34 kB / 1.066 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/1.173, allocations: 169.9 kB / 1.066 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/1.173, allocations: 33.27 kB / 1.066 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.173, allocations: 158 kB / 1.066 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/1.173, allocations: 71.72 kB / 1.066 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/1.173, allocations: 2.812 kB / 1.066 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.173, allocations: 324.6 kB / 1.066 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/1.173, allocations: 114.1 kB / 1.067 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/1.174, allocations: 156.7 kB / 1.067 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/1.174, allocations: 141.7 kB / 1.067 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.174, allocations: 0 / 1.067 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001225/1.175, allocations: 403.4 kB / 1.067 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.175, allocations: 4 kB / 1.067 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.175, allocations: 7.938 kB / 1.067 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/1.176, allocations: 97.67 kB / 1.067 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/1.177, allocations: 55.27 kB / 1.067 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/1.179, allocations: 1.72 MB / 1.069 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/1.18, allocations: 21.67 kB / 1.069 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/1.18, allocations: 15.31 kB / 1.069 GB, free: 5.273 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.0001619/1.18, allocations: 119.5 kB / 1.069 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/1.18, allocations: 19.8 kB / 1.069 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/1.181, allocations: 291.5 kB / 1.07 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.181, allocations: 7.984 kB / 1.07 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.181, allocations: 0 / 1.07 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.181, allocations: 7.953 kB / 1.07 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/1.182, allocations: 0.6973 MB / 1.07 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.182, allocations: 0 / 1.07 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/1.183, allocations: 59.89 kB / 1.07 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.183, allocations: 0 / 1.07 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/1.183, allocations: 10.95 kB / 1.07 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.183, allocations: 0 / 1.07 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.183, allocations: 0 / 1.07 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.184, allocations: 0.5352 MB / 1.071 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.184, allocations: 112.5 kB / 1.071 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/1.184, allocations: 7.375 kB / 1.071 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/1.185, allocations: 15.61 kB / 1.071 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/1.185, allocations: 11.98 kB / 1.071 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/1.185, allocations: 10.92 kB / 1.071 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001948/1.185, allocations: 143.3 kB / 1.071 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.185, allocations: 0 / 1.071 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005555/1.186, allocations: 74.88 kB / 1.071 GB, free: 3.426 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.001512/1.187, allocations: 1.241 MB / 1.072 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001183/1.188, allocations: 415.8 kB / 1.073 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/1.188, allocations: 4 kB / 1.073 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/1.189, allocations: 119.2 kB / 1.073 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/1.189, allocations: 30.62 kB / 1.073 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/1.191, allocations: 0.5755 MB / 1.073 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/1.192, allocations: 0.7814 MB / 1.074 GB, free: 492 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003273/1.192, allocations: 58.03 kB / 1.074 GB, free: 436 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.192, allocations: 67.59 kB / 1.074 GB, free: 408 kB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/1.192, allocations: 0 / 1.074 GB, free: 408 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/1.22, allocations: 4.65 MB / 1.079 GB, free: 11.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/1.221, allocations: 197.1 kB / 1.079 GB, free: 11.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.629, allocations: 0 / 1.079 GB, free: 11.71 MB / 0.698 GB