Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_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.001447/0.001447, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001617/0.001618, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.552/2.552, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.196/4.196, allocations: 409.2 MB / 0.6838 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005857/0.0005859, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216/1.217, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005563/1.222, allocations: 2.044 MB / 0.9829 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004562/1.227, allocations: 1.29 MB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/1.227, allocations: 7.938 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/1.228, allocations: 19.91 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007105/1.228, allocations: 91.66 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/1.229, allocations: 143.6 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004739/1.23, allocations: 119.7 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.231, allocations: 230 kB / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/1.231, allocations: 51.83 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/1.232, allocations: 67.75 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/1.232, allocations: 8 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/1.232, allocations: 111.7 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/1.232, allocations: 47.89 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/1.233, allocations: 57.58 kB / 0.985 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005902/1.233, allocations: 209.7 kB / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.233, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.637e-06/1.233, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.233, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB 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.00149/1.235, allocations: 443 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.6e-05/1.235, allocations: 8.031 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/1.235, allocations: 54.55 kB / 0.9857 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.236, allocations: 71.73 kB / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/1.237, allocations: 226.7 kB / 0.986 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/1.237, allocations: 8.281 kB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/1.237, allocations: 19.94 kB / 0.986 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/1.238, allocations: 279.7 kB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/1.238, allocations: 7.938 kB / 0.9863 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/1.238, allocations: 4 kB / 0.9863 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/1.238, allocations: 12.23 kB / 0.9863 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/1.239, allocations: 212.4 kB / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/1.244, allocations: 1.584 MB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/1.245, allocations: 311.3 kB / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/1.245, allocations: 8 kB / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.162e-05/1.245, allocations: 38.48 kB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 4.398e-06/1.245, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.00122/1.246, allocations: 240.6 kB / 0.9886 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/1.246, allocations: 85.09 kB / 0.9887 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006044/1.247, allocations: 195.5 kB / 0.9889 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/1.247, allocations: 25.7 kB / 0.9889 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/1.247, allocations: 159.9 kB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/1.247, allocations: 43.45 kB / 0.9891 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/1.247, allocations: 0 / 0.9891 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000334/1.248, allocations: 330.8 kB / 0.9894 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.248, allocations: 63.95 kB / 0.9895 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/1.249, allocations: 160.6 kB / 0.9897 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/1.249, allocations: 87.97 kB / 0.9897 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.249, allocations: 4 kB / 0.9897 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009081/1.25, allocations: 257.1 kB / 0.99 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001832/1.252, allocations: 1.134 MB / 0.9911 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.252, allocations: 4 kB / 0.9911 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129e-05/1.252, allocations: 4 kB / 0.9911 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/1.252, allocations: 51.86 kB / 0.9912 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/1.252, allocations: 11.94 kB / 0.9912 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/1.253, allocations: 19.89 kB / 0.9912 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/1.253, allocations: 12 kB / 0.9912 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.253, allocations: 4 kB / 0.9912 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006102/1.253, allocations: 195.5 kB / 0.9914 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.253, allocations: 4.375 kB / 0.9914 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.253, allocations: 8 kB / 0.9914 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/1.254, allocations: 47.91 kB / 0.9914 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.254, allocations: 4 kB / 0.9915 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/1.254, allocations: 15.98 kB / 0.9915 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.254, allocations: 12 kB / 0.9915 GB, free: 10.88 MB / 0.7481 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003671/1.254, allocations: 220.9 kB / 0.9917 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.255, allocations: 15.81 kB / 0.9917 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/1.255, allocations: 147 kB / 0.9918 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.255, allocations: 8 kB / 0.9919 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.255, allocations: 0 / 0.9919 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.255, allocations: 0 / 0.9919 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.257, allocations: 0.7159 MB / 0.9926 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.257, allocations: 4 kB / 0.9926 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/1.257, allocations: 27.92 kB / 0.9926 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/1.257, allocations: 4 kB / 0.9926 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/1.257, allocations: 7.984 kB / 0.9926 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.257, allocations: 3.953 kB / 0.9926 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.257, allocations: 4 kB / 0.9926 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/1.258, allocations: 499.9 kB / 0.9931 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/1.258, allocations: 112.8 kB / 0.9932 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/1.258, allocations: 4 kB / 0.9932 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/1.259, allocations: 11.98 kB / 0.9932 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/1.259, allocations: 19.92 kB / 0.9932 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/1.259, allocations: 4 kB / 0.9932 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002593/1.259, allocations: 152.1 kB / 0.9934 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.259, allocations: 0 / 0.9934 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00103/1.26, allocations: 68 kB / 0.9934 GB, free: 8.648 MB / 0.7481 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/1.262, allocations: 1.722 MB / 0.9951 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009118/1.263, allocations: 255.6 kB / 0.9954 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.263, allocations: 5.5 kB / 0.9954 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.263, allocations: 60.39 kB / 0.9954 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/1.264, allocations: 32.23 kB / 0.9955 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/1.269, allocations: 2.958 MB / 0.9983 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/1.269, allocations: 0.7362 MB / 0.9991 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004131/1.27, allocations: 73.47 kB / 0.9991 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.27, allocations: 43.42 kB / 0.9992 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of SimCode: time 2.285e-06/1.27, allocations: 0 / 0.9992 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/1.302, allocations: 3.289 MB / 1.002 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004412/1.303, allocations: 207.3 kB / 1.003 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/4.279, allocations: 0 / 1.003 GB, free: 15.18 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat