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.001033/0.001037, allocations: 102 kB / 16.27 MB, free: 5.961 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.001182/0.001182, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.231/1.231, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6922/0.6922, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.299, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003072/0.3021, allocations: 2.414 MB / 0.5697 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3039, allocations: 1.574 MB / 0.5712 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.304, allocations: 2.375 kB / 0.5712 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.3046, allocations: 177 kB / 0.5714 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.3049, allocations: 159.8 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3052, allocations: 183.4 kB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.3054, allocations: 214.7 kB / 0.5719 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3057, allocations: 127.1 kB / 0.572 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3058, allocations: 86.5 kB / 0.5721 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.306, allocations: 101.7 kB / 0.5722 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.306, allocations: 13.06 kB / 0.5722 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.3063, allocations: 214.1 kB / 0.5724 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.3064, allocations: 63.08 kB / 0.5725 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.3065, allocations: 84.98 kB / 0.5726 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.3068, allocations: 299 kB / 0.5728 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3068, allocations: 0 / 0.5728 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3068, allocations: 0 / 0.5728 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3068, allocations: 0.6562 kB / 0.5728 GB, free: 29.3 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.0005103/0.3074, allocations: 473 kB / 0.5733 GB, free: 28.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3074, allocations: 9.562 kB / 0.5733 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.3074, allocations: 53.34 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007011/0.3081, allocations: 87.02 kB / 0.5734 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3083, allocations: 228.6 kB / 0.5736 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3084, allocations: 14.25 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.3084, allocations: 14.36 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.3088, allocations: 299.2 kB / 0.574 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3089, allocations: 2.109 kB / 0.574 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3089, allocations: 7.344 kB / 0.574 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.3089, allocations: 20.42 kB / 0.574 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.3093, allocations: 224.3 kB / 0.5742 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3108, allocations: 1.598 MB / 0.5758 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.3111, allocations: 321.3 kB / 0.5761 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.3112, allocations: 64.91 kB / 0.5761 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3112, allocations: 2.953 kB / 0.5761 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3112, allocations: 37.38 kB / 0.5762 GB, free: 26.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3113, allocations: 0 / 0.5762 GB, free: 26.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004895/0.3117, allocations: 247.6 kB / 0.5764 GB, free: 26.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.3118, allocations: 80.06 kB / 0.5765 GB, free: 26.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.312, allocations: 206.5 kB / 0.5767 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.312, allocations: 31.48 kB / 0.5767 GB, free: 26.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.3121, allocations: 154.5 kB / 0.5769 GB, free: 26.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3121, allocations: 36.03 kB / 0.5769 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.3122, allocations: 54.3 kB / 0.5769 GB, free: 25.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.3122, allocations: 325.4 kB / 0.5773 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3124, allocations: 85.19 kB / 0.5773 GB, free: 25.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3126, allocations: 158.4 kB / 0.5775 GB, free: 25.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.3129, allocations: 239.8 kB / 0.5777 GB, free: 25.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3129, allocations: 0 / 0.5777 GB, free: 25.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004423/0.3133, allocations: 267 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3133, allocations: 7 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3133, allocations: 3.312 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3134, allocations: 9.719 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3136, allocations: 53.61 kB / 0.578 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3136, allocations: 8.75 kB / 0.578 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3139, allocations: 22.47 kB / 0.5781 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3139, allocations: 17.25 kB / 0.5781 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001745/0.3141, allocations: 164.5 kB / 0.5782 GB, free: 25.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001514/0.3142, allocations: 156 kB / 0.5784 GB, free: 24.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002175/0.3145, allocations: 228.9 kB / 0.5786 GB, free: 24.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.3145, allocations: 1.781 kB / 0.5786 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003908/0.3149, allocations: 252.6 kB / 0.5789 GB, free: 24.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.3149, allocations: 8.859 kB / 0.5789 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3149, allocations: 2.797 kB / 0.5789 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.3149, allocations: 9.484 kB / 0.5789 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3151, allocations: 54.22 kB / 0.5789 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3151, allocations: 4.781 kB / 0.5789 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3153, allocations: 25.28 kB / 0.579 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3153, allocations: 14.2 kB / 0.579 GB, free: 24.67 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.798e-05/0.3154, allocations: 193.6 kB / 0.5792 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.3154, allocations: 16.86 kB / 0.5792 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.3157, allocations: 156.8 kB / 0.5793 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3157, allocations: 5.312 kB / 0.5793 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3157, allocations: 1.938 kB / 0.5793 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3157, allocations: 2.906 kB / 0.5793 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/0.3164, allocations: 0.7257 MB / 0.58 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3165, allocations: 4.141 kB / 0.58 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.3166, allocations: 26.73 kB / 0.5801 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3166, allocations: 5.094 kB / 0.5801 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3166, allocations: 2.844 kB / 0.5801 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3166, allocations: 3.984 kB / 0.5801 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3166, allocations: 3.844 kB / 0.5801 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3168, allocations: 381.3 kB / 0.5804 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3169, allocations: 101.8 kB / 0.5805 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3169, allocations: 9.906 kB / 0.5805 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3171, allocations: 13.61 kB / 0.5806 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3171, allocations: 19.08 kB / 0.5806 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3172, allocations: 5.938 kB / 0.5806 GB, free: 23.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3173, allocations: 158.6 kB / 0.5807 GB, free: 23.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3173, allocations: 4.781 kB / 0.5807 GB, free: 23.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.3178, allocations: 66 kB / 0.5808 GB, free: 23.27 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.0003775/0.3182, allocations: 0.9152 MB / 0.5817 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.3187, allocations: 279 kB / 0.582 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3187, allocations: 0 / 0.582 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.3187, allocations: 67.02 kB / 0.582 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3192, allocations: 35.41 kB / 0.5821 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3212, allocations: 2.343 MB / 0.5844 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.3214, allocations: 0.733 MB / 0.5851 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.3216, allocations: 78.2 kB / 0.5851 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.3217, allocations: 44.7 kB / 0.5852 GB, free: 19.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3217, allocations: 0 / 0.5852 GB, free: 19.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.3386, allocations: 3.633 MB / 0.5887 GB, free: 17.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.135, allocations: 6.625 kB / 0.5887 GB, free: 17.83 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)