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.001546/0.001546, allocations: 99.86 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.002479/0.002479, allocations: 177.3 kB / 15.94 MB, free: 228 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.575/2.575, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.656/4.656, allocations: 409.2 MB / 0.6838 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007657/0.0007659, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602/1.603, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00497/1.608, allocations: 2.231 MB / 0.9831 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003139/1.611, allocations: 1.209 MB / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/1.612, allocations: 0 / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002208/1.612, allocations: 23.84 kB / 0.9843 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000683/1.613, allocations: 119.6 kB / 0.9844 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/1.613, allocations: 131.6 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004626/1.614, allocations: 151.7 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008213/1.615, allocations: 302 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/1.615, allocations: 71.7 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/1.615, allocations: 83.72 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/1.615, allocations: 8 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/1.616, allocations: 71.88 kB / 0.9852 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/1.616, allocations: 51.83 kB / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/1.616, allocations: 53.64 kB / 0.9853 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/1.616, allocations: 213.7 kB / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.616, allocations: 0 / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/1.616, allocations: 4 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.616, allocations: 0 / 0.9855 GB, free: 1.535 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.001149/1.617, allocations: 470.9 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.617, allocations: 12.03 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.989e-05/1.618, allocations: 46.55 kB / 0.986 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/1.618, allocations: 75.64 kB / 0.986 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/1.619, allocations: 238.5 kB / 0.9863 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/1.619, allocations: 16.27 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/1.619, allocations: 15.95 kB / 0.9863 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/1.62, allocations: 308.5 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/1.62, allocations: 3.984 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/1.62, allocations: 8 kB / 0.9866 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/1.62, allocations: 20.27 kB / 0.9866 GB, free: 224 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/1.621, allocations: 268.5 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/1.624, allocations: 1.51 MB / 0.9884 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/1.624, allocations: 260.3 kB / 0.9886 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.625, allocations: 4 kB / 0.9886 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.625, allocations: 38.5 kB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 3.737e-06/1.625, allocations: 0 / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.001373/1.626, allocations: 361.6 kB / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.626, allocations: 81.11 kB / 0.9891 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/1.626, allocations: 172 kB / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/1.626, allocations: 29.7 kB / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.627, allocations: 144 kB / 0.9894 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/1.627, allocations: 51.3 kB / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/1.627, allocations: 0 / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.627, allocations: 330.8 kB / 0.9898 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/1.627, allocations: 111.9 kB / 0.9899 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/1.628, allocations: 160.3 kB / 0.99 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/1.628, allocations: 137.2 kB / 0.9901 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.628, allocations: 4 kB / 0.9902 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009921/1.629, allocations: 317.2 kB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004411/1.63, allocations: 0.7007 MB / 0.9911 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.63, allocations: 4 kB / 0.9911 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.63, allocations: 8 kB / 0.9911 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/1.63, allocations: 59.89 kB / 0.9912 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/1.63, allocations: 11.94 kB / 0.9912 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/1.631, allocations: 39.81 kB / 0.9913 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/1.631, allocations: 4 kB / 0.9913 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.631, allocations: 5.875 kB / 0.9913 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007675/1.631, allocations: 243.7 kB / 0.9915 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.631, allocations: 4 kB / 0.9915 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.631, allocations: 7.984 kB / 0.9915 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/1.632, allocations: 55.89 kB / 0.9916 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.632, allocations: 0 / 0.9916 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/1.632, allocations: 35.97 kB / 0.9916 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.632, allocations: 8 kB / 0.9916 GB, free: 10.8 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.000294/1.632, allocations: 225 kB / 0.9918 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/1.633, allocations: 15.81 kB / 0.9918 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/1.633, allocations: 288.3 kB / 0.9921 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/1.634, allocations: 3.938 kB / 0.9921 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.634, allocations: 0 / 0.9921 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.634, allocations: 4 kB / 0.9921 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/1.635, allocations: 0.6849 MB / 0.9928 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.635, allocations: 4 kB / 0.9928 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/1.636, allocations: 51.89 kB / 0.9928 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.636, allocations: 4 kB / 0.9928 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.636, allocations: 0 / 0.9928 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/1.636, allocations: 4 kB / 0.9928 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.636, allocations: 4.125 kB / 0.9928 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/1.637, allocations: 0.5062 MB / 0.9933 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/1.637, allocations: 120.8 kB / 0.9935 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/1.637, allocations: 4 kB / 0.9935 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/1.637, allocations: 27.91 kB / 0.9935 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/1.638, allocations: 11.98 kB / 0.9935 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/1.638, allocations: 4 kB / 0.9935 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002009/1.638, allocations: 135.2 kB / 0.9936 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/1.638, allocations: 3.938 kB / 0.9936 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009299/1.639, allocations: 79.84 kB / 0.9937 GB, free: 8.477 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.001521/1.64, allocations: 1.404 MB / 0.9951 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.642, allocations: 382.1 kB / 0.9954 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.642, allocations: 0 / 0.9954 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/1.642, allocations: 119.9 kB / 0.9956 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/1.642, allocations: 40.03 kB / 0.9956 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/1.646, allocations: 2.31 MB / 0.9979 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/1.647, allocations: 0.748 MB / 0.9986 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004061/1.647, allocations: 77.47 kB / 0.9987 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.648, allocations: 51.42 kB / 0.9987 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of SimCode: time 1.933e-06/1.648, allocations: 0 / 0.9987 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/1.674, allocations: 3.76 MB / 1.002 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003944/1.675, allocations: 202.9 kB / 1.003 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/4.586, allocations: 0 / 1.003 GB, free: 15.38 MB / 0.7637 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