Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.0007931/0.000793, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001248/0.001248, allocations: 172.7 kB / 15.95 MB, free: 208 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.569/2.569, allocations: 409.4 MB / 0.684 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003943, allocations: 8 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8218, allocations: 146.8 MB / 0.9811 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00296/0.8248, allocations: 2.258 MB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.8267, allocations: 1.232 MB / 0.9846 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.8268, allocations: 0 / 0.9846 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.827, allocations: 27.78 kB / 0.9846 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.8274, allocations: 123.4 kB / 0.9847 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.8277, allocations: 138.6 kB / 0.9848 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.828, allocations: 295.1 kB / 0.9851 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.8285, allocations: 294 kB / 0.9854 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.8287, allocations: 83.62 kB / 0.9855 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.8289, allocations: 115.6 kB / 0.9856 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.8289, allocations: 8 kB / 0.9856 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.8291, allocations: 71.89 kB / 0.9857 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.8292, allocations: 63.8 kB / 0.9857 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.8292, allocations: 53.64 kB / 0.9858 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.8295, allocations: 217.7 kB / 0.986 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8295, allocations: 0 / 0.986 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8295, allocations: 0 / 0.986 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.8295, allocations: 0 / 0.986 GB, free: 1.184 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007204/0.8303, allocations: 470.9 kB / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.8303, allocations: 12.03 kB / 0.9864 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.8304, allocations: 50.53 kB / 0.9865 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.8308, allocations: 67.64 kB / 0.9866 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.8311, allocations: 238.5 kB / 0.9868 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8311, allocations: 16.25 kB / 0.9868 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.8312, allocations: 15.95 kB / 0.9868 GB, free: 236 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.8317, allocations: 308.5 kB / 0.9871 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.8317, allocations: 8 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.8318, allocations: 4 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/0.8318, allocations: 32.25 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.8323, allocations: 268.5 kB / 0.9874 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.8339, allocations: 1.506 MB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.8344, allocations: 265 kB / 0.9891 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.8347, allocations: 129.6 kB / 0.9893 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8347, allocations: 4 kB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.8347, allocations: 34.56 kB / 0.9893 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.8347, allocations: 4 kB / 0.9893 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007101/0.8354, allocations: 353.2 kB / 0.9896 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.8355, allocations: 85.23 kB / 0.9897 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.8357, allocations: 172 kB / 0.9899 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.8357, allocations: 25.7 kB / 0.9899 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.8358, allocations: 144 kB / 0.99 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.8358, allocations: 55.28 kB / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.8358, allocations: 0 / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.836, allocations: 334.8 kB / 0.9904 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.8362, allocations: 103.9 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.8364, allocations: 172.2 kB / 0.9907 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.8366, allocations: 135.9 kB / 0.9908 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8367, allocations: 3.938 kB / 0.9908 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005328/0.8372, allocations: 318.3 kB / 0.9911 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/0.8373, allocations: 139.2 kB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8373, allocations: 4 kB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8373, allocations: 0 / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.8376, allocations: 63.89 kB / 0.9913 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8376, allocations: 4 kB / 0.9913 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.8378, allocations: 35.81 kB / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8378, allocations: 4 kB / 0.9913 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.8379, allocations: 7.953 kB / 0.9914 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004319/0.8383, allocations: 249.6 kB / 0.9916 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.8383, allocations: 4 kB / 0.9916 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.299e-06/0.8383, allocations: 4 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.8385, allocations: 51.91 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8386, allocations: 8.156 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.8387, allocations: 31.81 kB / 0.9917 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.8387, allocations: 12 kB / 0.9917 GB, free: 10.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001635/0.8389, allocations: 217 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.839, allocations: 19.77 kB / 0.9919 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.8395, allocations: 286.9 kB / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8395, allocations: 0 / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8395, allocations: 0 / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.8396, allocations: 3.984 kB / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.8406, allocations: 0.6966 MB / 0.9929 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8406, allocations: 0 / 0.9929 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.8408, allocations: 51.89 kB / 0.9929 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.8408, allocations: 128 / 0.9929 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.8408, allocations: 8 kB / 0.9929 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.8408, allocations: 8 kB / 0.9929 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8408, allocations: 0 / 0.9929 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.8414, allocations: 463.6 kB / 0.9934 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.8415, allocations: 120.8 kB / 0.9935 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.8415, allocations: 4 kB / 0.9935 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.8417, allocations: 27.97 kB / 0.9935 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.8418, allocations: 7.984 kB / 0.9935 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.8418, allocations: 12 kB / 0.9936 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001048/0.8419, allocations: 131.2 kB / 0.9937 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8419, allocations: 0 / 0.9937 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004718/0.8424, allocations: 79.84 kB / 0.9938 GB, free: 8.66 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0007663/0.8432, allocations: 0.9998 MB / 0.9947 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006724/0.8438, allocations: 386.5 kB / 0.9951 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8439, allocations: 4 kB / 0.9951 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.8441, allocations: 120.7 kB / 0.9952 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.8445, allocations: 41.88 kB / 0.9953 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.8466, allocations: 1.253 MB / 0.9965 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8469, allocations: 0.748 MB / 0.9972 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.8471, allocations: 73.47 kB / 0.9973 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.8473, allocations: 55.41 kB / 0.9973 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.8473, allocations: 0 / 0.9973 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.8619, allocations: 3.774 MB / 1.001 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.8621, allocations: 212.6 kB / 1.001 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.684, allocations: 6.25 kB / 1.001 GB, free: 1.023 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat does not exist to compare? outputFormat=mat