Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 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.001518/0.001518, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.735/1.735, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.722/1.722, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001546/0.001546, allocations: 66.89 kB / 0.6716 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2609, allocations: 114.5 MB / 0.7835 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002407/0.2633, allocations: 1.078 MB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.2652, allocations: 1.337 MB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.2653, allocations: 4 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2654, allocations: 19.73 kB / 0.7859 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.2655, allocations: 39.59 kB / 0.7859 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.2662, allocations: 277.7 kB / 0.7862 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2666, allocations: 415.2 kB / 0.7866 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2668, allocations: 73.28 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.2669, allocations: 155.6 kB / 0.7868 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.2672, allocations: 159.5 kB / 0.7869 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.2672, allocations: 36 kB / 0.787 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2673, allocations: 51.98 kB / 0.787 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.2674, allocations: 63.81 kB / 0.7871 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2676, allocations: 159.3 kB / 0.7872 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.268, allocations: 419 kB / 0.7876 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.268, allocations: 0 / 0.7876 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.268, allocations: 0 / 0.7876 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.268, allocations: 0 / 0.7876 GB, free: 9.238 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.001113/0.2692, allocations: 0.627 MB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2692, allocations: 12.03 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.2693, allocations: 50.72 kB / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.2693, allocations: 32.66 kB / 0.7883 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.2696, allocations: 283.7 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.2697, allocations: 16.38 kB / 0.7886 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.2697, allocations: 24.38 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.2703, allocations: 241.8 kB / 0.7889 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2703, allocations: 3.938 kB / 0.7889 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.2704, allocations: 11.98 kB / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2704, allocations: 4 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.2711, allocations: 243.4 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2723, allocations: 0.7536 MB / 0.7899 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.2728, allocations: 208.9 kB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.2732, allocations: 161 kB / 0.7902 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2733, allocations: 0 / 0.7902 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.2738, allocations: 258.1 kB / 0.7905 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.664e-06/0.2738, allocations: 0 / 0.7905 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001429/0.2753, allocations: 0.5401 MB / 0.791 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.2753, allocations: 67.33 kB / 0.791 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.2755, allocations: 216.1 kB / 0.7913 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.2756, allocations: 37.7 kB / 0.7913 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.2757, allocations: 136.5 kB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.2758, allocations: 63.19 kB / 0.7915 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2759, allocations: 81.67 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2761, allocations: 338.8 kB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.2766, allocations: 183.7 kB / 0.7921 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.2771, allocations: 224.1 kB / 0.7923 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.278, allocations: 405 kB / 0.7927 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.278, allocations: 0 / 0.7927 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001152/0.2792, allocations: 0.528 MB / 0.7932 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.2792, allocations: 67.53 kB / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2792, allocations: 7.984 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2793, allocations: 4 kB / 0.7932 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.2796, allocations: 59.89 kB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2796, allocations: 0 / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.2801, allocations: 87.66 kB / 0.7934 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.2801, allocations: 23.98 kB / 0.7934 GB, free: 2.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001721/0.2803, allocations: 163.4 kB / 0.7936 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2803, allocations: 23.72 kB / 0.7936 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.2804, allocations: 26.55 kB / 0.7936 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2804, allocations: 7.984 kB / 0.7936 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2804, allocations: 0 / 0.7936 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2804, allocations: 4 kB / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.2817, allocations: 0.7881 MB / 0.7944 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2817, allocations: 0 / 0.7944 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.2819, allocations: 43.95 kB / 0.7944 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2819, allocations: 0 / 0.7944 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.2819, allocations: 7.984 kB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2819, allocations: 0 / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2819, allocations: 0 / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.2829, allocations: 0.5069 MB / 0.7949 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.283, allocations: 100.8 kB / 0.795 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.283, allocations: 11.92 kB / 0.795 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.2834, allocations: 23.97 kB / 0.7951 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2835, allocations: 27.97 kB / 0.7951 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.2836, allocations: 11.98 kB / 0.7951 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001872/0.2838, allocations: 161.5 kB / 0.7953 GB, free: 1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2838, allocations: 4 kB / 0.7953 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005999/0.2844, allocations: 71.98 kB / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002011/0.2864, allocations: 1.056 MB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.2883, allocations: 0.5575 MB / 0.7969 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2883, allocations: 0 / 0.7969 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000732/0.2891, allocations: 184.3 kB / 0.7971 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.2897, allocations: 53.58 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/0.2975, allocations: 3.172 MB / 0.8002 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.2979, allocations: 0.748 MB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.2982, allocations: 33.94 kB / 0.801 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2984, allocations: 75.41 kB / 0.8011 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of SimCode: time 1.202e-06/0.2984, allocations: 0 / 0.8011 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3228, allocations: 6.369 MB / 0.8073 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.228, allocations: 3.938 kB / 0.8073 GB, free: 4.613 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)