Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.001276/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001296/0.001296, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.308/1.308, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.588/1.588, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001333/0.001333, allocations: 73.19 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2314, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001776/0.2332, allocations: 0.6922 MB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2344, allocations: 1.107 MB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.2344, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.175e-05/0.2345, allocations: 7.938 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.2346, allocations: 7.984 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2349, allocations: 114.5 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.2351, allocations: 191.7 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.2352, allocations: 16 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.2352, allocations: 79.83 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.2353, allocations: 63.8 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.2354, allocations: 16 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.2354, allocations: 31.98 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.2355, allocations: 27.97 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.2356, allocations: 67.77 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.2358, allocations: 203.7 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2358, allocations: 0 / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2358, allocations: 4 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.2358, allocations: 0 / 0.7855 GB, free: 11.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004202/0.2362, allocations: 446.7 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.2362, allocations: 8.031 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.2363, allocations: 42.75 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2363, allocations: 16.84 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.2365, allocations: 224.1 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2365, allocations: 16.36 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2366, allocations: 8.375 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.2367, allocations: 95.92 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2367, allocations: 7.875 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.2367, allocations: 4 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.2367, allocations: 0 / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.2368, allocations: 39.97 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.2372, allocations: 492.8 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.2373, allocations: 57.12 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.2373, allocations: 37.75 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-06/0.2374, allocations: 3.938 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.2375, allocations: 113 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2375, allocations: 0 / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002374/0.2377, allocations: 137.5 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2378, allocations: 77.11 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2379, allocations: 133.8 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2379, allocations: 37.69 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.238, allocations: 99.94 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.238, allocations: 15.84 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.2381, allocations: 61.61 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.2382, allocations: 314.8 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.2384, allocations: 127.9 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2386, allocations: 161 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.2388, allocations: 220.4 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2388, allocations: 0 / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004947/0.2393, allocations: 376.6 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.2394, allocations: 71.39 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2394, allocations: 3.938 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2394, allocations: 4 kB / 0.7888 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.469e-05/0.2394, allocations: 3.938 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2394, allocations: 4.188 kB / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.2398, allocations: 67.84 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2398, allocations: 15.98 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001012/0.2399, allocations: 130.5 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.24, allocations: 7.906 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.24, allocations: 11.91 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.24, allocations: 4 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.24, allocations: 0 / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.24, allocations: 7.922 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2402, allocations: 193.6 kB / 0.7893 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2402, allocations: 3.938 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.2402, allocations: 4 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2402, allocations: 3.938 kB / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2402, allocations: 384 / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2402, allocations: 4 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2402, allocations: 0 / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.2404, allocations: 141.8 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.2404, allocations: 81.02 kB / 0.7895 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2404, allocations: 8 kB / 0.7895 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.2404, allocations: 0 / 0.7895 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.2405, allocations: 11.92 kB / 0.7895 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2405, allocations: 0 / 0.7895 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.2405, allocations: 99.27 kB / 0.7896 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2405, allocations: 8 kB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002252/0.2408, allocations: 35.92 kB / 0.7896 GB, free: 6.484 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000389/0.2412, allocations: 0.6717 MB / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.2416, allocations: 334.6 kB / 0.7906 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2416, allocations: 0 / 0.7906 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.2416, allocations: 35.91 kB / 0.7907 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2418, allocations: 20.8 kB / 0.7907 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2439, allocations: 2.167 MB / 0.7928 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2441, allocations: 0.7041 MB / 0.7935 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.2441, allocations: 4 kB / 0.7935 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.2442, allocations: 23.42 kB / 0.7935 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2442, allocations: 0 / 0.7935 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.962/1.206, allocations: 3.363 MB / 0.7968 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/1.206, allocations: 230.5 kB / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.915, allocations: 0 / 0.797 GB, free: 14.88 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)