Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.001034/0.001034, allocations: 100.8 kB / 16.27 MB, free: 5.93 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.001144/0.001143, allocations: 186.3 kB / 17.2 MB, free: 5.574 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.284/1.284, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2987, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004861/0.3036, allocations: 4.346 MB / 0.5715 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.306, allocations: 1.853 MB / 0.5733 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3062, allocations: 11.59 kB / 0.5733 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3076, allocations: 0.5899 MB / 0.5739 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.308, allocations: 264.4 kB / 0.5742 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.3086, allocations: 251.6 kB / 0.5744 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.3091, allocations: 0.6088 MB / 0.575 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005959/0.3097, allocations: 476.5 kB / 0.5755 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.31, allocations: 250.2 kB / 0.5757 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.3103, allocations: 265.1 kB / 0.5759 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.3104, allocations: 39.34 kB / 0.576 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.3108, allocations: 257.1 kB / 0.5762 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.311, allocations: 148.7 kB / 0.5764 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3112, allocations: 221.2 kB / 0.5766 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.3118, allocations: 0.5942 MB / 0.5772 GB, free: 26.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3119, allocations: 2.5 kB / 0.5772 GB, free: 26.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3119, allocations: 0 / 0.5772 GB, free: 26.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3119, allocations: 0.9375 kB / 0.5772 GB, free: 26.77 MB / 446.1 MB 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.001027/0.3129, allocations: 0.7382 MB / 0.5779 GB, free: 26.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3129, allocations: 10.19 kB / 0.5779 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.313, allocations: 72.98 kB / 0.578 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009353/0.314, allocations: 144.9 kB / 0.5781 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3143, allocations: 325.6 kB / 0.5784 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3143, allocations: 23.12 kB / 0.5784 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.3144, allocations: 38.36 kB / 0.5785 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.3151, allocations: 0.5351 MB / 0.579 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3151, allocations: 5.312 kB / 0.579 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3151, allocations: 12.12 kB / 0.579 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/0.3152, allocations: 33.44 kB / 0.579 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.3157, allocations: 389.8 kB / 0.5794 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3176, allocations: 2.407 MB / 0.5818 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.3181, allocations: 260.2 kB / 0.582 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3182, allocations: 111.5 kB / 0.5821 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3182, allocations: 5.359 kB / 0.5821 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.3183, allocations: 35.41 kB / 0.5822 GB, free: 23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.3183, allocations: 0 / 0.5822 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001794/0.3201, allocations: 1.129 MB / 0.5833 GB, free: 22.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.3201, allocations: 56.97 kB / 0.5833 GB, free: 22.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3203, allocations: 301.9 kB / 0.5836 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3204, allocations: 29.7 kB / 0.5836 GB, free: 21.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.3204, allocations: 232.4 kB / 0.5839 GB, free: 21.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.3205, allocations: 81.31 kB / 0.5839 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.3206, allocations: 62.03 kB / 0.584 GB, free: 21.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.3206, allocations: 344.2 kB / 0.5843 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3208, allocations: 96.7 kB / 0.5844 GB, free: 21.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3209, allocations: 194.3 kB / 0.5846 GB, free: 20.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.3212, allocations: 314.8 kB / 0.5849 GB, free: 20.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3212, allocations: 7.938 kB / 0.5849 GB, free: 20.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005991/0.3218, allocations: 443.8 kB / 0.5853 GB, free: 20.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3219, allocations: 6.625 kB / 0.5853 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3219, allocations: 3.781 kB / 0.5853 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.3222, allocations: 94.12 kB / 0.5854 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.3224, allocations: 65.84 kB / 0.5855 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.3244, allocations: 4.401 MB / 0.5898 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3247, allocations: 6.875 kB / 0.5898 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3247, allocations: 14.72 kB / 0.5898 GB, free: 15.97 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.3248, allocations: 183.2 kB / 0.59 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.3249, allocations: 31.34 kB / 0.59 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.325, allocations: 38.06 kB / 0.5901 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.325, allocations: 6.781 kB / 0.5901 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.325, allocations: 1.25 kB / 0.5901 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.325, allocations: 5.203 kB / 0.5901 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.3253, allocations: 397.2 kB / 0.5904 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3253, allocations: 7.875 kB / 0.5905 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3255, allocations: 34.36 kB / 0.5905 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.3258, allocations: 94.94 kB / 0.5906 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3258, allocations: 1.188 kB / 0.5906 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.3277, allocations: 4.406 MB / 0.5949 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3277, allocations: 5 kB / 0.5949 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.3284, allocations: 0.5571 MB / 0.5954 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.3285, allocations: 116.7 kB / 0.5955 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3285, allocations: 9.516 kB / 0.5955 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3287, allocations: 5.5 kB / 0.5956 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3287, allocations: 25.27 kB / 0.5956 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3288, allocations: 8.062 kB / 0.5956 GB, free: 10.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3289, allocations: 210.5 kB / 0.5958 GB, free: 10.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3289, allocations: 4 kB / 0.5958 GB, free: 10.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.3294, allocations: 99.25 kB / 0.5959 GB, free: 10.18 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007792/0.3302, allocations: 1.099 MB / 0.597 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.3309, allocations: 0.6246 MB / 0.5976 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3309, allocations: 1.062 kB / 0.5976 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3312, allocations: 475 kB / 0.598 GB, free: 8.379 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.3317, allocations: 85.47 kB / 0.5981 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.3349, allocations: 3.377 MB / 0.6014 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3352, allocations: 0.8352 MB / 0.6022 GB, free: 5.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.3354, allocations: 62.61 kB / 0.6023 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3355, allocations: 107.8 kB / 0.6024 GB, free: 4.918 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3355, allocations: 0 / 0.6024 GB, free: 4.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3634, allocations: 7.634 MB / 0.6098 GB, free: 13.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.713, allocations: 10.34 kB / 0.6098 GB, free: 13.55 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)