Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData",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.006038/0.006038, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001763/0.001763, allocations: 196.1 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7106 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 63.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5896, allocations: 151.6 MB / 1.166 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1649/0.7545, allocations: 168.4 MB / 1.331 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.7737, allocations: 17.33 MB / 1.348 GB, free: 9.441 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/0.7745, allocations: 31.81 kB / 1.348 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.7758, allocations: 0.5778 MB / 1.348 GB, free: 8.828 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.7793, allocations: 1.777 MB / 1.35 GB, free: 7.051 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.782, allocations: 1.442 MB / 1.351 GB, free: 5.621 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00253/0.7845, allocations: 2.87 MB / 1.354 GB, free: 2.742 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.7866, allocations: 1.933 MB / 1.356 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.7897, allocations: 1.426 MB / 1.357 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.7909, allocations: 1.105 MB / 1.358 GB, free: 14.27 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.7912, allocations: 224 kB / 1.359 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.7935, allocations: 1.564 MB / 1.36 GB, free: 12.48 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000633/0.7941, allocations: 0.7906 MB / 1.361 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.7952, allocations: 1.275 MB / 1.362 GB, free: 10.41 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.7989, allocations: 3.737 MB / 1.366 GB, free: 6.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.799, allocations: 0 / 1.366 GB, free: 6.656 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.082e-06/0.799, allocations: 0 / 1.366 GB, free: 6.656 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.799, allocations: 0 / 1.366 GB, free: 6.656 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004082/0.8031, allocations: 2.998 MB / 1.369 GB, free: 3.586 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.8031, allocations: 8.922 kB / 1.369 GB, free: 3.578 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002607/0.8034, allocations: 244.9 kB / 1.369 GB, free: 3.328 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.8065, allocations: 0.5838 MB / 1.37 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0035/0.81, allocations: 3.426 MB / 1.373 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.8101, allocations: 143.2 kB / 1.373 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.8103, allocations: 168 kB / 1.373 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.8132, allocations: 1.941 MB / 1.375 GB, free: 12.96 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.8133, allocations: 4 kB / 1.375 GB, free: 12.96 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.8134, allocations: 72 kB / 1.375 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.8135, allocations: 40 kB / 1.375 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.817, allocations: 2.089 MB / 1.377 GB, free: 10.76 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007989/0.825, allocations: 6.564 MB / 1.384 GB, free: 3.852 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.8281, allocations: 2.095 MB / 1.386 GB, free: 1.68 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.8293, allocations: 0.7647 MB / 1.387 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.8299, allocations: 441.5 kB / 1.387 GB, free: 416 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.8315, allocations: 1.005 MB / 1.388 GB, free: 15.38 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 2.565e-06/0.8315, allocations: 0 / 1.388 GB, free: 15.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.006073/0.8375, allocations: 2.966 MB / 1.391 GB, free: 12.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8377, allocations: 197.2 kB / 1.391 GB, free: 12.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/0.8417, allocations: 4.06 MB / 1.395 GB, free: 8 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.8418, allocations: 61.64 kB / 1.395 GB, free: 7.934 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.8425, allocations: 0.9035 MB / 1.396 GB, free: 7.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.8429, allocations: 0.4957 MB / 1.396 GB, free: 6.52 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.8433, allocations: 234.9 kB / 1.397 GB, free: 6.281 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8434, allocations: 357.9 kB / 1.397 GB, free: 5.926 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.8444, allocations: 0.5687 MB / 1.398 GB, free: 5.359 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.8457, allocations: 0.7976 MB / 1.398 GB, free: 4.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.8479, allocations: 1.314 MB / 1.4 GB, free: 3.176 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8479, allocations: 4 kB / 1.4 GB, free: 3.172 MB / 1.123 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003411/0.8513, allocations: 1.784 MB / 1.401 GB, free: 1.363 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8513, allocations: 4 kB / 1.401 GB, free: 1.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8513, allocations: 4.094 kB / 1.401 GB, free: 1.355 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009798/0.8523, allocations: 212.1 kB / 1.402 GB, free: 1.133 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.8537, allocations: 327.5 kB / 1.402 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.8595, allocations: 7.315 MB / 1.409 GB, free: 8.797 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.8606, allocations: 157.9 kB / 1.409 GB, free: 8.645 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.8607, allocations: 51.97 kB / 1.409 GB, free: 8.594 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006692/0.8614, allocations: 489.4 kB / 1.41 GB, free: 8.105 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.8617, allocations: 194.7 kB / 1.41 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.8658, allocations: 2.145 MB / 1.412 GB, free: 5.738 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.8658, allocations: 12 kB / 1.412 GB, free: 5.727 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8658, allocations: 4 kB / 1.412 GB, free: 5.723 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.8658, allocations: 7.969 kB / 1.412 GB, free: 5.715 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006057/0.8719, allocations: 4.111 MB / 1.416 GB, free: 1.535 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8719, allocations: 0 / 1.416 GB, free: 1.535 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.8732, allocations: 315.6 kB / 1.416 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008024/0.874, allocations: 212.1 kB / 1.416 GB, free: 1.004 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.8741, allocations: 43.91 kB / 1.417 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005618/0.8797, allocations: 7.348 MB / 1.424 GB, free: 8.902 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8797, allocations: 0 / 1.424 GB, free: 8.902 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.8834, allocations: 2.014 MB / 1.426 GB, free: 6.852 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/0.8841, allocations: 0.5148 MB / 1.426 GB, free: 6.316 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.8843, allocations: 32 kB / 1.426 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.8854, allocations: 106.5 kB / 1.426 GB, free: 6.184 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.8857, allocations: 113.1 kB / 1.426 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8858, allocations: 75.94 kB / 1.426 GB, free: 5.996 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00298/0.8888, allocations: 3.112 MB / 1.43 GB, free: 2.891 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8888, allocations: 4 kB / 1.43 GB, free: 2.887 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001459/0.8903, allocations: 0.6898 MB / 1.43 GB, free: 2.195 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005818/0.8961, allocations: 3.224 MB / 1.433 GB, free: 15.09 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003096/0.8992, allocations: 2.051 MB / 1.435 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8992, allocations: 0.5625 kB / 1.435 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.9011, allocations: 1.418 MB / 1.437 GB, free: 11.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.9031, allocations: 0.5548 MB / 1.437 GB, free: 10.96 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/0.9293, allocations: 20.82 MB / 1.458 GB, free: 5.887 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.9304, allocations: 1.529 MB / 1.459 GB, free: 4.324 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001459/0.9319, allocations: 0.5251 MB / 1.46 GB, free: 3.793 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.9331, allocations: 0.9131 MB / 1.461 GB, free: 2.879 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.9331, allocations: 0 / 1.461 GB, free: 2.879 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.061/7.994, allocations: 48.93 MB / 1.508 GB, free: 2.324 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.52/32.51, allocations: 5.5 kB / 1.508 GB, free: 2.32 MB / 1.232 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)