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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.00122, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008204/0.008204, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.726/1.726, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.885/1.885, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006545/0.0006547, allocations: 20.58 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3047, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001537/0.3063, allocations: 0.7823 MB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.3086, allocations: 1.351 MB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3088, allocations: 7.938 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.309, allocations: 11.88 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3092, allocations: 35.75 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009615/0.3101, allocations: 244.9 kB / 0.7903 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.3107, allocations: 355.2 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.3109, allocations: 73.27 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.3112, allocations: 119.6 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.3116, allocations: 135.5 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.3117, allocations: 19.94 kB / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.3119, allocations: 23.98 kB / 0.791 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.312, allocations: 47.83 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.3122, allocations: 157 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.3128, allocations: 387 kB / 0.7915 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3128, allocations: 3.938 kB / 0.7915 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.907e-06/0.3128, allocations: 4 kB / 0.7915 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.3128, allocations: 0 / 0.7915 GB, free: 7.793 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.001333/0.3142, allocations: 0.5843 MB / 0.7921 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.3142, allocations: 12.02 kB / 0.7921 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3144, allocations: 28.66 kB / 0.7921 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.3148, allocations: 279.6 kB / 0.7924 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.3149, allocations: 24.36 kB / 0.7924 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.315, allocations: 24.38 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.3157, allocations: 257.8 kB / 0.7927 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3157, allocations: 192 / 0.7927 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.3158, allocations: 11.94 kB / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3158, allocations: 4 kB / 0.7927 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.3165, allocations: 271.5 kB / 0.793 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.3179, allocations: 0.7692 MB / 0.7937 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.3185, allocations: 240.8 kB / 0.7939 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.3189, allocations: 165.1 kB / 0.7941 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3189, allocations: 3.938 kB / 0.7941 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006276/0.3196, allocations: 281 kB / 0.7944 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.3196, allocations: 0 / 0.7944 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001562/0.3212, allocations: 0.5849 MB / 0.7949 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3212, allocations: 55.41 kB / 0.795 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.3215, allocations: 224.1 kB / 0.7952 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.3216, allocations: 37.7 kB / 0.7953 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3217, allocations: 136.5 kB / 0.7954 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.3218, allocations: 71.09 kB / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.3219, allocations: 41.7 kB / 0.7955 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.322, allocations: 334.8 kB / 0.7958 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.3226, allocations: 207.7 kB / 0.796 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.3231, allocations: 244.1 kB / 0.7962 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/0.324, allocations: 424.8 kB / 0.7966 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.324, allocations: 3.938 kB / 0.7966 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001247/0.3253, allocations: 0.5631 MB / 0.7972 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.3254, allocations: 67.52 kB / 0.7973 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3254, allocations: 4 kB / 0.7973 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3254, allocations: 4 kB / 0.7973 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.3257, allocations: 63.95 kB / 0.7973 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3258, allocations: 3.938 kB / 0.7973 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.3263, allocations: 119.7 kB / 0.7974 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.3264, allocations: 16 kB / 0.7975 GB, free: 1.395 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.0002283/0.3266, allocations: 171.4 kB / 0.7976 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.3267, allocations: 19.72 kB / 0.7976 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3268, allocations: 26.55 kB / 0.7977 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3268, allocations: 4 kB / 0.7977 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3268, allocations: 4 kB / 0.7977 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3268, allocations: 3.938 kB / 0.7977 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.3282, allocations: 0.8194 MB / 0.7985 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3282, allocations: 4 kB / 0.7985 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.3284, allocations: 47.91 kB / 0.7985 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3284, allocations: 4 kB / 0.7985 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3284, allocations: 3.984 kB / 0.7985 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3284, allocations: 4 kB / 0.7985 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3285, allocations: 4 kB / 0.7985 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3295, allocations: 0.5343 MB / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3296, allocations: 96.83 kB / 0.7992 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.3296, allocations: 7.984 kB / 0.7992 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3299, allocations: 35.97 kB / 0.7992 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.33, allocations: 23.95 kB / 0.7992 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.33, allocations: 16 kB / 0.7992 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001583/0.3302, allocations: 161.6 kB / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.034e-06/0.3302, allocations: 0 / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003818/0.3306, allocations: 75.81 kB / 0.7995 GB, free: 15.25 MB / 0.6231 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.0002042/0.3308, allocations: 115.2 kB / 0.7996 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.332, allocations: 0.5609 MB / 0.8001 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.332, allocations: 4 kB / 0.8001 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.3325, allocations: 196.1 kB / 0.8003 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.3329, allocations: 48.39 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.3339, allocations: 0.5482 MB / 0.8009 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.3342, allocations: 0.7482 MB / 0.8016 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.3344, allocations: 37.94 kB / 0.8017 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.3345, allocations: 27.42 kB / 0.8017 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.3345, allocations: 3.938 kB / 0.8017 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.008556/0.343, allocations: 3.896 MB / 0.8055 GB, free: 9.023 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) Environment - environmentSimulation: