Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.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.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_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.671/1.671, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001091/0.001091, allocations: 180.5 kB / 372 MB, free: 10.26 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.556/1.556, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007913/0.0007913, allocations: 91.88 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005612/0.0005613, allocations: 11.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.278, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00282/0.2809, allocations: 2.127 MB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.2819, allocations: 0.7326 MB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.282, allocations: 4 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2821, allocations: 19.8 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.2824, allocations: 87.62 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.2827, allocations: 91.81 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.2829, allocations: 227.3 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.2831, allocations: 167.2 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.2832, allocations: 63.77 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2834, allocations: 91.66 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2834, allocations: 4 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2835, allocations: 59.89 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.2836, allocations: 39.89 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2836, allocations: 49.64 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2838, allocations: 171.8 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2838, allocations: 4 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2838, allocations: 3.938 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2838, allocations: 0 / 0.9835 GB, free: 23.59 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005469/0.2844, allocations: 415.1 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2844, allocations: 12.02 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.2845, allocations: 50.55 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.2848, allocations: 47.77 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.285, allocations: 218.8 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.285, allocations: 8.281 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.2851, allocations: 12 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2854, allocations: 226.7 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2854, allocations: 0 / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2854, allocations: 7.984 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.2855, allocations: 24.27 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2857, allocations: 144.7 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.2865, allocations: 1.127 MB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.2865, allocations: 46.5 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.2866, allocations: 20.94 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2866, allocations: 3.953 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.2866, allocations: 38.5 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.2866, allocations: 0 / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.2868, allocations: 81.44 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2869, allocations: 55.39 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.287, allocations: 165.7 kB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2871, allocations: 25.7 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.2871, allocations: 139.4 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2872, allocations: 19.75 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.2872, allocations: 0 / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.2872, allocations: 322.8 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.2873, allocations: 23.98 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.2873, allocations: 89.38 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.207e-05/0.2874, allocations: 43.92 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2874, allocations: 0 / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.2876, allocations: 133.4 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.2877, allocations: 161.8 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2877, allocations: 7.984 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2877, allocations: 4 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2878, allocations: 20 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2878, allocations: 3.938 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.2879, allocations: 27.83 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2879, allocations: 4 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.2879, allocations: 5.406 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000136/0.2881, allocations: 91.95 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.2881, allocations: 4 kB / 0.9872 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/0.2881, allocations: 4.359 kB / 0.9872 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.2882, allocations: 31.97 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2882, allocations: 11.89 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.2882, allocations: 15.84 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2882, allocations: 8 kB / 0.9872 GB, free: 19.35 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.886e-05/0.2883, allocations: 210.6 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2884, allocations: 15.81 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.2884, allocations: 12.92 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2884, allocations: 4 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2884, allocations: 7.953 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2884, allocations: 0 / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.2887, allocations: 461.2 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2887, allocations: 0 / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.2888, allocations: 8 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2888, allocations: 8.062 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2888, allocations: 12 kB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2888, allocations: 0 / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2888, allocations: 7.875 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.2889, allocations: 103.6 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.289, allocations: 100.8 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.289, allocations: 7.953 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.289, allocations: 0 / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.2891, allocations: 8 kB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.2891, allocations: 0 / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.2891, allocations: 132.8 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2891, allocations: 0 / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002968/0.2895, allocations: 55.78 kB / 0.9883 GB, free: 18.1 MB / 0.6198 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 (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.0002848/0.2897, allocations: 0.6422 MB / 0.989 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.2899, allocations: 108.1 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2899, allocations: 4 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.29, allocations: 23.92 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2902, allocations: 22.55 kB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.2912, allocations: 0.8065 MB / 0.9899 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.2914, allocations: 0.7202 MB / 0.9906 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.758e-05/0.2915, allocations: 32.41 kB / 0.9906 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.2915, allocations: 31.42 kB / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.2915, allocations: 0 / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.3048, allocations: 2.163 MB / 0.9928 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.305, allocations: 206.2 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.966, allocations: 3.938 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)