Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.773/2.773, allocations: 287.5 MB / 302.4 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 186 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 89.53 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005258, allocations: 15.61 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.224, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005677/0.2297, allocations: 3.802 MB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.2333, allocations: 1.739 MB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.2337, allocations: 15.88 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.234, allocations: 71.41 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006838/0.2347, allocations: 210.9 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.2354, allocations: 180.7 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.2363, allocations: 0.6814 MB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.2368, allocations: 388.9 kB / 0.9854 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.2371, allocations: 199.2 kB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.2376, allocations: 247.1 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.762e-05/0.2377, allocations: 20 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.2382, allocations: 131.8 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2384, allocations: 131.5 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2385, allocations: 97.52 kB / 0.9861 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2391, allocations: 455.1 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2391, allocations: 0 / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2391, allocations: 0 / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2391, allocations: 0 / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001366/0.2405, allocations: 0.6705 MB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.2406, allocations: 16.02 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.2407, allocations: 74.47 kB / 0.9873 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.2421, allocations: 163.3 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.2427, allocations: 317.4 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.2427, allocations: 24.98 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.2428, allocations: 32 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.2438, allocations: 0.5275 MB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2439, allocations: 3.938 kB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.2439, allocations: 15.98 kB / 0.9884 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.244, allocations: 36.59 kB / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.2449, allocations: 386.3 kB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.2481, allocations: 2.407 MB / 0.9911 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.2489, allocations: 267.2 kB / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.2491, allocations: 108.8 kB / 0.9915 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2492, allocations: 4 kB / 0.9915 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.2492, allocations: 34.56 kB / 0.9915 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.116e-06/0.2492, allocations: 0 / 0.9915 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.003035/0.2523, allocations: 1.13 MB / 0.9926 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2524, allocations: 55.41 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.2527, allocations: 300.4 kB / 0.993 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.2528, allocations: 29.7 kB / 0.993 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2529, allocations: 231.6 kB / 0.9932 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.253, allocations: 82.78 kB / 0.9933 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.253, allocations: 11.94 kB / 0.9933 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.2531, allocations: 334.8 kB / 0.9936 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.2534, allocations: 108.6 kB / 0.9937 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.2537, allocations: 183.8 kB / 0.9939 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.254, allocations: 129.1 kB / 0.994 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.254, allocations: 3.953 kB / 0.994 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001091/0.2551, allocations: 446.9 kB / 0.9945 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2552, allocations: 11.95 kB / 0.9945 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2552, allocations: 0 / 0.9945 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.2557, allocations: 98.84 kB / 0.9946 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.2562, allocations: 59.91 kB / 0.9946 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.2595, allocations: 4.072 MB / 0.9986 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.26, allocations: 8 kB / 0.9986 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.26, allocations: 16 kB / 0.9986 GB, free: 6.555 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.2603, allocations: 183 kB / 0.9988 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.2604, allocations: 35.72 kB / 0.9988 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.2605, allocations: 38.31 kB / 0.9989 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2605, allocations: 0 / 0.9989 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.2605, allocations: 4 kB / 0.9989 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2605, allocations: 3.984 kB / 0.9989 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.2611, allocations: 393.4 kB / 0.9992 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2611, allocations: 7.938 kB / 0.9993 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.2615, allocations: 31.92 kB / 0.9993 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.262, allocations: 98.5 kB / 0.9994 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2621, allocations: 4 kB / 0.9994 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/0.2653, allocations: 4.068 MB / 1.003 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2653, allocations: 0 / 1.003 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2665, allocations: 0.556 MB / 1.004 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.2667, allocations: 132.9 kB / 1.004 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.2668, allocations: 0 / 1.004 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.2671, allocations: 15.98 kB / 1.004 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.2672, allocations: 15.98 kB / 1.004 GB, free: 488 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2672, allocations: 4 kB / 1.004 GB, free: 484 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002584/0.2675, allocations: 215 kB / 1.004 GB, free: 272 kB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2675, allocations: 0 / 1.004 GB, free: 272 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006192/0.2681, allocations: 96 kB / 1.004 GB, free: 176 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/0.2699, allocations: 1.102 MB / 1.005 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.2713, allocations: 0.594 MB / 1.006 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2714, allocations: 4.25 kB / 1.006 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.2722, allocations: 484.2 kB / 1.006 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.273, allocations: 72.56 kB / 1.007 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.278, allocations: 2.049 MB / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.2786, allocations: 0.8387 MB / 1.009 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004155/0.2791, allocations: 58.94 kB / 1.009 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.2793, allocations: 107.4 kB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.2793, allocations: 0 / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.3146, allocations: 7.132 MB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/0.315, allocations: 204.6 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.103, allocations: 4 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)