Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.001215/0.001215, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001147/0.001147, allocations: 194.9 kB / 16.91 MB, free: 6.195 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.172/1.172, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6417/0.6417, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.91 kB / 493.2 MB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.261, allocations: 76.17 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004044/0.265, allocations: 4.218 MB / 0.5602 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.2682, allocations: 2.769 MB / 0.5629 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.2684, allocations: 10.56 kB / 0.5629 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.2693, allocations: 355.2 kB / 0.5632 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.27, allocations: 373.4 kB / 0.5636 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2711, allocations: 475.9 kB / 0.564 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.2716, allocations: 0.7034 MB / 0.5647 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.2721, allocations: 395.1 kB / 0.5651 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.2723, allocations: 268.7 kB / 0.5653 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.2727, allocations: 356.6 kB / 0.5657 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.2728, allocations: 37.91 kB / 0.5657 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.2732, allocations: 340.3 kB / 0.566 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.2733, allocations: 198.1 kB / 0.5662 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.2735, allocations: 248.6 kB / 0.5665 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.2742, allocations: 0.7664 MB / 0.5672 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2742, allocations: 0.875 kB / 0.5672 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2742, allocations: 0 / 0.5672 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2742, allocations: 1.719 kB / 0.5672 GB, free: 29.7 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001088/0.2753, allocations: 0.8104 MB / 0.568 GB, free: 29.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2754, allocations: 9.469 kB / 0.568 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.051e-05/0.2755, allocations: 90.14 kB / 0.5681 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.2766, allocations: 195.9 kB / 0.5683 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.277, allocations: 357.8 kB / 0.5686 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.277, allocations: 33.91 kB / 0.5687 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.2771, allocations: 43.14 kB / 0.5687 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2782, allocations: 0.8388 MB / 0.5695 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2783, allocations: 6.578 kB / 0.5695 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.2783, allocations: 23.95 kB / 0.5696 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/0.2784, allocations: 64.7 kB / 0.5696 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2796, allocations: 0.6673 MB / 0.5703 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.2825, allocations: 4.664 MB / 0.5748 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.2834, allocations: 0.5089 MB / 0.5753 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.2839, allocations: 283.5 kB / 0.5756 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2839, allocations: 4.188 kB / 0.5756 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2839, allocations: 39.61 kB / 0.5756 GB, free: 23.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.2839, allocations: 0 / 0.5756 GB, free: 23.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001588/0.2855, allocations: 0.8807 MB / 0.5765 GB, free: 23.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.2856, allocations: 84.33 kB / 0.5766 GB, free: 23.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.2859, allocations: 379.3 kB / 0.5769 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.2859, allocations: 31.2 kB / 0.577 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2861, allocations: 292.5 kB / 0.5772 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.2861, allocations: 122 kB / 0.5774 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.2863, allocations: 115.5 kB / 0.5775 GB, free: 22.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.2864, allocations: 352.7 kB / 0.5778 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.2869, allocations: 266.9 kB / 0.5781 GB, free: 22.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.2874, allocations: 492.8 kB / 0.5785 GB, free: 21.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/0.2884, allocations: 0.7714 MB / 0.5793 GB, free: 21.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2884, allocations: 2.375 kB / 0.5793 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001267/0.2897, allocations: 0.7881 MB / 0.5801 GB, free: 20.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2897, allocations: 8.969 kB / 0.5801 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2897, allocations: 12.11 kB / 0.5801 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2898, allocations: 8.938 kB / 0.5801 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.2904, allocations: 167.9 kB / 0.5802 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.2905, allocations: 15.5 kB / 0.5803 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.291, allocations: 76.58 kB / 0.5803 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.2911, allocations: 28.36 kB / 0.5804 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005215/0.2916, allocations: 364.4 kB / 0.5807 GB, free: 20.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004716/0.2921, allocations: 450.9 kB / 0.5811 GB, free: 20.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008287/0.2929, allocations: 0.6769 MB / 0.5818 GB, free: 19.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.2929, allocations: 2.438 kB / 0.5818 GB, free: 19.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001133/0.2941, allocations: 0.6861 MB / 0.5825 GB, free: 19.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2941, allocations: 9.641 kB / 0.5825 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2941, allocations: 8.625 kB / 0.5825 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.2941, allocations: 18.72 kB / 0.5825 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.2946, allocations: 146.9 kB / 0.5826 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2947, allocations: 16.86 kB / 0.5827 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.2951, allocations: 67.66 kB / 0.5827 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.2952, allocations: 28.02 kB / 0.5827 GB, free: 19.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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 0.0001011/0.2953, allocations: 220 kB / 0.583 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.2954, allocations: 39.89 kB / 0.583 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.2964, allocations: 0.5837 MB / 0.5836 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2964, allocations: 4.156 kB / 0.5836 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2964, allocations: 1.219 kB / 0.5836 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2964, allocations: 1.922 kB / 0.5836 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.2985, allocations: 1.618 MB / 0.5852 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2985, allocations: 3.25 kB / 0.5852 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.2991, allocations: 114.5 kB / 0.5853 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2991, allocations: 5.656 kB / 0.5853 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2991, allocations: 14.62 kB / 0.5853 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2991, allocations: 9.969 kB / 0.5853 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2991, allocations: 3.344 kB / 0.5853 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.3, allocations: 0.7907 MB / 0.5861 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3001, allocations: 165.5 kB / 0.5862 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.3002, allocations: 15.83 kB / 0.5862 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.3007, allocations: 52.11 kB / 0.5863 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.3008, allocations: 42.5 kB / 0.5863 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.3008, allocations: 11.19 kB / 0.5863 GB, free: 17.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002905/0.3011, allocations: 269.4 kB / 0.5866 GB, free: 17.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3011, allocations: 0 / 0.5866 GB, free: 17.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007591/0.3019, allocations: 195.9 kB / 0.5868 GB, free: 17.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0009983/0.3029, allocations: 1.334 MB / 0.5881 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3043, allocations: 0.9602 MB / 0.589 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3044, allocations: 1.031 kB / 0.589 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.3048, allocations: 267.1 kB / 0.5893 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/0.3055, allocations: 126.4 kB / 0.5894 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.3106, allocations: 5.05 MB / 0.5943 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3109, allocations: 0.867 MB / 0.5952 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.3114, allocations: 208 kB / 0.5954 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.3116, allocations: 151.4 kB / 0.5955 GB, free: 10.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3116, allocations: 0 / 0.5955 GB, free: 10.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.527/1.839, allocations: 9.973 MB / 0.6053 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.839, allocations: 209.9 kB / 0.6055 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/4.518, allocations: 0 / 0.6055 GB, free: 0.5078 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)