Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001028/0.001028, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001122/0.001122, allocations: 193 kB / 16.91 MB, free: 6.195 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.214/1.214, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6249/0.6249, allocations: 115.3 MB / 406.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 71.88 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2803, allocations: 76.17 MB / 0.556 GB, free: 35.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002758/0.2831, allocations: 2.466 MB / 0.5584 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2849, allocations: 1.556 MB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.2849, allocations: 5.406 kB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.2855, allocations: 172.4 kB / 0.5601 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.2857, allocations: 138.6 kB / 0.5603 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.2861, allocations: 169.2 kB / 0.5604 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.2863, allocations: 220.5 kB / 0.5606 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.2865, allocations: 141.2 kB / 0.5608 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2867, allocations: 80.11 kB / 0.5608 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2868, allocations: 114.5 kB / 0.561 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.2869, allocations: 11.75 kB / 0.561 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.2871, allocations: 210.3 kB / 0.5612 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.2872, allocations: 69.39 kB / 0.5612 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.2873, allocations: 82.2 kB / 0.5613 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.2876, allocations: 311.2 kB / 0.5616 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2876, allocations: 1.25 kB / 0.5616 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2876, allocations: 0 / 0.5616 GB, free: 32.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2876, allocations: 1.219 kB / 0.5616 GB, free: 32.32 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005074/0.2882, allocations: 473.2 kB / 0.5621 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2882, allocations: 9.969 kB / 0.5621 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.2882, allocations: 53.25 kB / 0.5621 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.2889, allocations: 86.47 kB / 0.5622 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.2891, allocations: 225.7 kB / 0.5624 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2891, allocations: 10.66 kB / 0.5624 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.2892, allocations: 18.73 kB / 0.5624 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.2896, allocations: 293.1 kB / 0.5627 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2896, allocations: 11.78 kB / 0.5627 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2896, allocations: 8.188 kB / 0.5627 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.2897, allocations: 18.42 kB / 0.5628 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.29, allocations: 222.3 kB / 0.563 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.2914, allocations: 1.599 MB / 0.5645 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.2917, allocations: 322.1 kB / 0.5648 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2918, allocations: 69.19 kB / 0.5649 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.2918, allocations: 0.9375 kB / 0.5649 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2918, allocations: 38.77 kB / 0.5649 GB, free: 29.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2918, allocations: 0 / 0.5649 GB, free: 29.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004537/0.2923, allocations: 247.9 kB / 0.5652 GB, free: 29.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2923, allocations: 79.95 kB / 0.5653 GB, free: 29.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.2925, allocations: 202.4 kB / 0.5655 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.2926, allocations: 29.7 kB / 0.5655 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.2926, allocations: 154.4 kB / 0.5656 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.2926, allocations: 33.86 kB / 0.5657 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.2927, allocations: 58.95 kB / 0.5657 GB, free: 29.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.2928, allocations: 323 kB / 0.566 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2929, allocations: 82.31 kB / 0.5661 GB, free: 28.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2931, allocations: 157.3 kB / 0.5663 GB, free: 28.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.2933, allocations: 241.9 kB / 0.5665 GB, free: 28.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2934, allocations: 2.219 kB / 0.5665 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000424/0.2938, allocations: 270.4 kB / 0.5667 GB, free: 28.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2938, allocations: 6.875 kB / 0.5667 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2938, allocations: 2.344 kB / 0.5668 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2938, allocations: 13.72 kB / 0.5668 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.2941, allocations: 55.02 kB / 0.5668 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2941, allocations: 4.484 kB / 0.5668 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.2943, allocations: 23.17 kB / 0.5668 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2944, allocations: 10.41 kB / 0.5669 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001661/0.2945, allocations: 167.7 kB / 0.567 GB, free: 28.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001461/0.2947, allocations: 163.2 kB / 0.5672 GB, free: 27.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002209/0.2949, allocations: 234.6 kB / 0.5674 GB, free: 27.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.2949, allocations: 1.469 kB / 0.5674 GB, free: 27.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003867/0.2953, allocations: 252.3 kB / 0.5676 GB, free: 27.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.2953, allocations: 8.125 kB / 0.5676 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2953, allocations: 3.156 kB / 0.5676 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.2954, allocations: 5.125 kB / 0.5677 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.2955, allocations: 54.31 kB / 0.5677 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2956, allocations: 7.203 kB / 0.5677 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.2958, allocations: 22.02 kB / 0.5677 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2958, allocations: 10.95 kB / 0.5677 GB, free: 27.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 5.814e-05/0.2959, allocations: 193.5 kB / 0.5679 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.2959, allocations: 19.25 kB / 0.5679 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2961, allocations: 147.1 kB / 0.5681 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2961, allocations: 5.844 kB / 0.5681 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2962, allocations: 1.188 kB / 0.5681 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2962, allocations: 2.344 kB / 0.5681 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.2969, allocations: 0.7261 MB / 0.5688 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2969, allocations: 4.266 kB / 0.5688 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.5e-05/0.297, allocations: 21.77 kB / 0.5688 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.297, allocations: 4.484 kB / 0.5688 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.297, allocations: 6.375 kB / 0.5688 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.297, allocations: 8.172 kB / 0.5688 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.297, allocations: 2.531 kB / 0.5688 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2973, allocations: 381.1 kB / 0.5692 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.2973, allocations: 104.6 kB / 0.5693 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.2974, allocations: 5.438 kB / 0.5693 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2976, allocations: 10.97 kB / 0.5693 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.2976, allocations: 21.77 kB / 0.5693 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2976, allocations: 9.375 kB / 0.5694 GB, free: 26.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.2977, allocations: 164.5 kB / 0.5695 GB, free: 26.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2978, allocations: 0 / 0.5695 GB, free: 26.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.2982, allocations: 69.44 kB / 0.5696 GB, free: 26.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003575/0.2986, allocations: 0.9056 MB / 0.5705 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.299, allocations: 288.6 kB / 0.5707 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2991, allocations: 1.219 kB / 0.5707 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.2991, allocations: 66.53 kB / 0.5708 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2996, allocations: 28.97 kB / 0.5708 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3016, allocations: 2.405 MB / 0.5732 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3018, allocations: 0.7325 MB / 0.5739 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.302, allocations: 81.7 kB / 0.574 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.3021, allocations: 49.06 kB / 0.574 GB, free: 22.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3021, allocations: 0 / 0.574 GB, free: 22.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1407/0.4428, allocations: 3.55 MB / 0.5775 GB, free: 22.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.4429, allocations: 226.3 kB / 0.5777 GB, free: 22.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.169, allocations: 3.938 kB / 0.5777 GB, free: 22.01 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)