Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.0009273/0.0009267, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001124/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 222.1 MB, free: 5.305 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.702/1.702, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005273/0.0005273, allocations: 16.84 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2537, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001259/0.255, allocations: 0.6659 MB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.2568, allocations: 1.254 MB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2569, allocations: 3.938 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.172e-05/0.257, allocations: 3.938 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2571, allocations: 39.7 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.2578, allocations: 211.4 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.2582, allocations: 267.3 kB / 0.7898 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2584, allocations: 41.67 kB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.2587, allocations: 95.72 kB / 0.7899 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2588, allocations: 83.66 kB / 0.79 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.2589, allocations: 15.94 kB / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.259, allocations: 31.92 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.2591, allocations: 31.89 kB / 0.7901 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.2591, allocations: 57.58 kB / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.2594, allocations: 243.6 kB / 0.7904 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.2594, allocations: 7.938 kB / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2595, allocations: 0 / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2595, allocations: 0 / 0.7904 GB, free: 8.754 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009318/0.2604, allocations: 0.537 MB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2605, allocations: 12.03 kB / 0.7909 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.2605, allocations: 34.56 kB / 0.7909 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.2606, allocations: 23.81 kB / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.2611, allocations: 263.2 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2612, allocations: 4 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2612, allocations: 16 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.2616, allocations: 192.8 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2617, allocations: 0 / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2617, allocations: 3.984 kB / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.2617, allocations: 7.953 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.2622, allocations: 167.8 kB / 0.7916 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2633, allocations: 0.8955 MB / 0.7925 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2637, allocations: 176.9 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.264, allocations: 108.3 kB / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.264, allocations: 8 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000444/0.2644, allocations: 195.4 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/0.2644, allocations: 0 / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001047/0.2655, allocations: 337.5 kB / 0.7933 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.2656, allocations: 162.2 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.2658, allocations: 203 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.2658, allocations: 29.7 kB / 0.7936 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.266, allocations: 140.2 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.266, allocations: 27.64 kB / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.266, allocations: 4 kB / 0.7938 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2662, allocations: 334.8 kB / 0.7941 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2666, allocations: 135.9 kB / 0.7942 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.267, allocations: 191.5 kB / 0.7944 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.2674, allocations: 195.3 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2674, allocations: 0 / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008709/0.2683, allocations: 444.6 kB / 0.795 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.2683, allocations: 71.39 kB / 0.7951 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2684, allocations: 0 / 0.7951 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2684, allocations: 4 kB / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.2686, allocations: 40.06 kB / 0.7951 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.2686, allocations: 3.938 kB / 0.7951 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.2691, allocations: 103.9 kB / 0.7952 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.2692, allocations: 15.98 kB / 0.7953 GB, free: 3.309 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001633/0.2693, allocations: 152.8 kB / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.2694, allocations: 15.81 kB / 0.7954 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.2694, allocations: 24.92 kB / 0.7954 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2694, allocations: 0 / 0.7954 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2695, allocations: 4 kB / 0.7955 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2695, allocations: 0 / 0.7955 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.2698, allocations: 253.4 kB / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2698, allocations: 0 / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.2699, allocations: 43.91 kB / 0.7957 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.27, allocations: 0 / 0.7957 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.27, allocations: 4 kB / 0.7957 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.27, allocations: 3.984 kB / 0.7957 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.27, allocations: 4 kB / 0.7957 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.2706, allocations: 288.1 kB / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.2707, allocations: 92.92 kB / 0.7961 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2708, allocations: 7.984 kB / 0.7961 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2709, allocations: 31.97 kB / 0.7961 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.271, allocations: 7.984 kB / 0.7962 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.271, allocations: 12 kB / 0.7962 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001396/0.2711, allocations: 148.4 kB / 0.7963 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2711, allocations: 0 / 0.7963 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003139/0.2715, allocations: 47.94 kB / 0.7964 GB, free: 2.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001001/0.2725, allocations: 0.8303 MB / 0.7972 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008322/0.2733, allocations: 406.8 kB / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2733, allocations: 0 / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.2736, allocations: 109 kB / 0.7977 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.274, allocations: 46.64 kB / 0.7977 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.2765, allocations: 1.408 MB / 0.7991 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2769, allocations: 0.7356 MB / 0.7998 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.277, allocations: 25.48 kB / 0.7998 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.2771, allocations: 55.36 kB / 0.7999 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2771, allocations: 0 / 0.7999 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2931, allocations: 4.514 MB / 0.8043 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.2933, allocations: 200.3 kB / 0.8045 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.203, allocations: 4.891 kB / 0.8045 GB, free: 9.746 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) Environment - environmentSimulation: