Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",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.005063/0.005063, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001242/0.001242, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.002511, allocations: 290 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.2 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 95.86 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4088, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1903/0.5992, allocations: 167.2 MB / 0.9292 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02314/0.6223, allocations: 17.23 MB / 0.946 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.6237, allocations: 31.81 kB / 0.9461 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.6254, allocations: 0.5273 MB / 0.9466 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.6303, allocations: 1.692 MB / 0.9482 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.6338, allocations: 1.436 MB / 0.9496 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003398/0.6372, allocations: 2.678 MB / 0.9523 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.64, allocations: 1.994 MB / 0.9542 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004081/0.6441, allocations: 1.399 MB / 0.9556 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3777/1.022, allocations: 1.085 MB / 0.9566 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008491/1.023, allocations: 221.7 kB / 0.9568 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.026, allocations: 1.554 MB / 0.9584 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007222/1.027, allocations: 0.8024 MB / 0.9591 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/1.028, allocations: 1.246 MB / 0.9604 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004517/1.033, allocations: 3.697 MB / 0.964 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.033, allocations: 3.812 kB / 0.964 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/1.033, allocations: 1.859 kB / 0.964 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.551e-05/1.033, allocations: 0 / 0.964 GB, free: 5.648 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004602/1.038, allocations: 2.995 MB / 0.9669 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/1.038, allocations: 8.844 kB / 0.9669 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/1.038, allocations: 246.6 kB / 0.9671 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/1.042, allocations: 0.5847 MB / 0.9677 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/1.045, allocations: 3.449 MB / 0.9711 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/1.045, allocations: 130.7 kB / 0.9712 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/1.045, allocations: 171.8 kB / 0.9714 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/1.048, allocations: 1.957 MB / 0.9733 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.048, allocations: 0 / 0.9733 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/1.048, allocations: 76.39 kB / 0.9734 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/1.048, allocations: 41.47 kB / 0.9734 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/1.051, allocations: 2.117 MB / 0.9755 GB, free: 3.309 MB / 0.7169 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.007059/1.058, allocations: 6.342 MB / 0.9817 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/1.061, allocations: 2.136 MB / 0.9837 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/1.062, allocations: 0.7742 MB / 0.9845 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/1.062, allocations: 432.9 kB / 0.9849 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/1.064, allocations: 1.019 MB / 0.9859 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.554e-06/1.064, allocations: 0 / 0.9859 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005826/1.07, allocations: 3.003 MB / 0.9888 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.07, allocations: 197.5 kB / 0.989 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/1.073, allocations: 4.103 MB / 0.993 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/1.073, allocations: 60.39 kB / 0.9931 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/1.074, allocations: 0.9064 MB / 0.994 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.074, allocations: 0.4958 MB / 0.9945 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/1.074, allocations: 242.9 kB / 0.9947 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.074, allocations: 352 kB / 0.995 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/1.075, allocations: 0.5831 MB / 0.9956 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.076, allocations: 0.8083 MB / 0.9964 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.078, allocations: 1.336 MB / 0.9977 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.078, allocations: 2.531 kB / 0.9977 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003304/1.082, allocations: 1.8 MB / 0.9994 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.082, allocations: 9 kB / 0.9995 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.082, allocations: 1.812 kB / 0.9995 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/1.083, allocations: 212.9 kB / 0.9997 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.084, allocations: 334.3 kB / 1 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/1.09, allocations: 7.327 MB / 1.007 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.092, allocations: 167.8 kB / 1.007 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/1.092, allocations: 49.66 kB / 1.007 GB, free: 7.184 MB / 0.7325 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 (145): * Single equations (assignments): 140 * 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.000763/1.092, allocations: 493.5 kB / 1.008 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/1.093, allocations: 205 kB / 1.008 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/1.097, allocations: 2.162 MB / 1.01 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.097, allocations: 15.62 kB / 1.01 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.097, allocations: 3.906 kB / 1.01 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.097, allocations: 7.828 kB / 1.01 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/1.103, allocations: 4.135 MB / 1.014 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.103, allocations: 0.875 kB / 1.014 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.105, allocations: 320.8 kB / 1.014 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008049/1.106, allocations: 199.9 kB / 1.015 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/1.106, allocations: 47.36 kB / 1.015 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/1.112, allocations: 7.364 MB / 1.022 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.112, allocations: 0 / 1.022 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/1.116, allocations: 2.032 MB / 1.024 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009443/1.117, allocations: 0.5277 MB / 1.024 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.117, allocations: 26.72 kB / 1.024 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.119, allocations: 114.6 kB / 1.025 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.119, allocations: 112.5 kB / 1.025 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.119, allocations: 74.12 kB / 1.025 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002722/1.122, allocations: 3.144 MB / 1.028 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/1.122, allocations: 3.594 kB / 1.028 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001958/1.124, allocations: 0.6714 MB / 1.028 GB, free: 14.73 MB / 0.7481 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.005977/1.13, allocations: 3.248 MB / 1.032 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.133, allocations: 2.073 MB / 1.034 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.133, allocations: 4.25 kB / 1.034 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/1.135, allocations: 1.429 MB / 1.035 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.137, allocations: 0.5428 MB / 1.036 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/1.17, allocations: 21.39 MB / 1.056 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.171, allocations: 1.541 MB / 1.058 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0018/1.173, allocations: 0.5209 MB / 1.058 GB, free: 6.246 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.174, allocations: 0.9054 MB / 1.059 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of SimCode: time 8.71e-07/1.174, allocations: 0 / 1.059 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.312, allocations: 48.8 MB / 1.107 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.64, allocations: 12.66 kB / 1.107 GB, free: 5.281 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)