Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0009501/0.0009501, allocations: 100.1 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.0009297/0.0009297, 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 1.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003428, allocations: 15.94 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8102, allocations: 142.3 MB / 0.9536 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002917/0.8132, allocations: 2.606 MB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.8154, allocations: 1.742 MB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.8156, allocations: 1.812 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.8158, allocations: 35.36 kB / 0.9579 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.8162, allocations: 125.4 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.8167, allocations: 181 kB / 0.9582 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.8171, allocations: 180.9 kB / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.8176, allocations: 316.9 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.8178, allocations: 91.75 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.8181, allocations: 103.6 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.8181, allocations: 10.03 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.8186, allocations: 245.5 kB / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.8187, allocations: 75.2 kB / 0.9591 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.8188, allocations: 66.83 kB / 0.9592 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.8193, allocations: 356.3 kB / 0.9595 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.8193, allocations: 1.375 kB / 0.9595 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8193, allocations: 0 / 0.9595 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.567e-06/0.8193, allocations: 3.938 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007859/0.8201, allocations: 0.5116 MB / 0.96 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8201, allocations: 9.625 kB / 0.96 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.193e-05/0.8202, allocations: 62.8 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.8211, allocations: 128.4 kB / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.8215, allocations: 256.2 kB / 0.9605 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8216, allocations: 11.56 kB / 0.9605 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.8216, allocations: 20.83 kB / 0.9605 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.8222, allocations: 347.7 kB / 0.9608 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.8222, allocations: 1 kB / 0.9608 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.8222, allocations: 17.94 kB / 0.9609 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.8223, allocations: 21.58 kB / 0.9609 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.8228, allocations: 300.6 kB / 0.9612 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.8249, allocations: 1.74 MB / 0.9629 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.8254, allocations: 315.2 kB / 0.9632 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.495e-05/0.8255, allocations: 86.53 kB / 0.9632 GB, free: 416 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.8255, allocations: 40.62 kB / 0.9633 GB, free: 368 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.424e-06/0.8255, allocations: 0 / 0.9633 GB, free: 368 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.002478/0.828, allocations: 0.9766 MB / 0.9642 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8281, allocations: 85.17 kB / 0.9643 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.8283, allocations: 215.5 kB / 0.9645 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.8284, allocations: 31.17 kB / 0.9646 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.8285, allocations: 163.9 kB / 0.9647 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.8286, allocations: 81.88 kB / 0.9648 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.8286, allocations: 5.031 kB / 0.9648 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8288, allocations: 335.3 kB / 0.9651 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.829, allocations: 131.1 kB / 0.9652 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.8293, allocations: 206.8 kB / 0.9654 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.8295, allocations: 170.8 kB / 0.9656 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8296, allocations: 1.25 kB / 0.9656 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009609/0.8305, allocations: 0.5072 MB / 0.9661 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8306, allocations: 5.375 kB / 0.9661 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.8306, allocations: 3 kB / 0.9661 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.8311, allocations: 150.2 kB / 0.9662 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.8314, allocations: 68.11 kB / 0.9663 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.8345, allocations: 3.982 MB / 0.9702 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.8347, allocations: 17.14 kB / 0.9702 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.8348, allocations: 10.22 kB / 0.9702 GB, free: 10.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.835, allocations: 173.2 kB / 0.9704 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.8351, allocations: 21.81 kB / 0.9704 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008934/0.836, allocations: 488.3 kB / 0.9709 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.836, allocations: 3.312 kB / 0.9709 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.836, allocations: 1.156 kB / 0.9709 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.836, allocations: 0.9375 kB / 0.9709 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.8377, allocations: 1.005 MB / 0.9719 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.8377, allocations: 1.938 kB / 0.9719 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.8379, allocations: 33.64 kB / 0.9719 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.8384, allocations: 152.2 kB / 0.972 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.8384, allocations: 4.531 kB / 0.972 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.8415, allocations: 3.973 MB / 0.9759 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8415, allocations: 7.781 kB / 0.9759 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.8425, allocations: 0.7356 MB / 0.9767 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.8427, allocations: 127.3 kB / 0.9768 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.8428, allocations: 8.562 kB / 0.9768 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.843, allocations: 22.28 kB / 0.9768 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.8431, allocations: 29.56 kB / 0.9768 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.8431, allocations: 12.45 kB / 0.9768 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001705/0.8433, allocations: 153.3 kB / 0.977 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8433, allocations: 0 / 0.977 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005755/0.8439, allocations: 86.38 kB / 0.9771 GB, free: 3.945 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.8454, allocations: 1.931 MB / 0.979 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.8464, allocations: 0.5723 MB / 0.9795 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8464, allocations: 1.656 kB / 0.9795 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.847, allocations: 393.1 kB / 0.9799 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.8474, allocations: 42.19 kB / 0.9799 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.8511, allocations: 3.313 MB / 0.9832 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8515, allocations: 0.7921 MB / 0.9839 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.8518, allocations: 57.98 kB / 0.984 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.8519, allocations: 76.84 kB / 0.9841 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/0.8519, allocations: 0 / 0.9841 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.8728, allocations: 6.18 MB / 0.9901 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.8732, allocations: 216.6 kB / 0.9903 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.711, allocations: 7.688 kB / 0.9903 GB, free: 8.973 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat does not exist to compare? outputFormat=mat