Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 186.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 72.61 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2441, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004476/0.2486, allocations: 2.513 MB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.25, allocations: 0.7673 MB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2502, allocations: 4 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2515, allocations: 0.5696 MB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.2518, allocations: 111.5 kB / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.2521, allocations: 99.8 kB / 0.7876 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.2525, allocations: 199.4 kB / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.2528, allocations: 168.9 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.253, allocations: 79.75 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2532, allocations: 91.66 kB / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2532, allocations: 16 kB / 0.7881 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.2535, allocations: 119.7 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.2536, allocations: 59.81 kB / 0.7883 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.2536, allocations: 67.67 kB / 0.7884 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.254, allocations: 219.6 kB / 0.7886 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.254, allocations: 3.938 kB / 0.7886 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/0.254, allocations: 0 / 0.7886 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.254, allocations: 0 / 0.7886 GB, free: 8.191 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000627/0.2546, allocations: 447.3 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2547, allocations: 11.97 kB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.2547, allocations: 54.73 kB / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.2551, allocations: 40.72 kB / 0.7891 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.2553, allocations: 220.1 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2554, allocations: 8.656 kB / 0.7893 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2554, allocations: 12.38 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.2557, allocations: 235.1 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2558, allocations: 0 / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2558, allocations: 7.984 kB / 0.7896 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.2558, allocations: 16.27 kB / 0.7896 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.2561, allocations: 148.7 kB / 0.7897 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.257, allocations: 1.122 MB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.2571, allocations: 46.56 kB / 0.7909 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.2572, allocations: 20.94 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.2572, allocations: 0 / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2572, allocations: 38.5 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2572, allocations: 0 / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.2574, allocations: 81.52 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2575, allocations: 55.39 kB / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2576, allocations: 169.1 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2576, allocations: 29.7 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.2577, allocations: 135.4 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2577, allocations: 19.75 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2578, allocations: 33.7 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.2579, allocations: 322.8 kB / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.258, allocations: 28.84 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.258, allocations: 92.38 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2582, allocations: 121.3 kB / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2582, allocations: 0 / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001873/0.2584, allocations: 137.5 kB / 0.7921 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2584, allocations: 11.94 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2584, allocations: 0 / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2584, allocations: 11.88 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2585, allocations: 27.92 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2586, allocations: 4 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.2586, allocations: 15.75 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2586, allocations: 12 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000106/0.2588, allocations: 120.1 kB / 0.7923 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.098e-05/0.2588, allocations: 89.52 kB / 0.7924 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001134/0.259, allocations: 125.2 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.259, allocations: 0 / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001748/0.2591, allocations: 137.4 kB / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.2592, allocations: 4 kB / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2592, allocations: 4 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.2592, allocations: 11.94 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.2593, allocations: 27.92 kB / 0.7927 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2593, allocations: 4 kB / 0.7927 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.2593, allocations: 16.25 kB / 0.7927 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2594, allocations: 4 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/0.2594, allocations: 188.2 kB / 0.7929 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.2595, allocations: 11.81 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.2595, allocations: 20.86 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2595, allocations: 0 / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2595, allocations: 0 / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2595, allocations: 0 / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.2599, allocations: 477.1 kB / 0.7933 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.26, allocations: 0 / 0.7933 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.26, allocations: 4 kB / 0.7934 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.26, allocations: 4 kB / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.26, allocations: 0 / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.26, allocations: 0 / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.26, allocations: 4 kB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2601, allocations: 123.5 kB / 0.7935 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.2602, allocations: 85.34 kB / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.2602, allocations: 3.984 kB / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.2603, allocations: 11.94 kB / 0.7936 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.2603, allocations: 4 kB / 0.7936 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2603, allocations: 7.984 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.399e-05/0.2604, allocations: 122.1 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2604, allocations: 0 / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003373/0.2607, allocations: 51.84 kB / 0.7937 GB, free: 2.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003448/0.2611, allocations: 0.6576 MB / 0.7944 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2613, allocations: 116.8 kB / 0.7945 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2613, allocations: 4.125 kB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/0.2613, allocations: 15.92 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.2616, allocations: 26.48 kB / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2632, allocations: 1.736 MB / 0.7962 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2635, allocations: 0.7202 MB / 0.7969 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.271e-05/0.2636, allocations: 28.62 kB / 0.797 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.2636, allocations: 35.42 kB / 0.797 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2636, allocations: 0 / 0.797 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.282, allocations: 2.369 MB / 0.7993 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.439, allocations: 6.344 kB / 0.7993 GB, free: 12.46 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)