Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.00116/0.00116, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 186.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 66.47 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2625, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004722/0.2672, allocations: 3.203 MB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2695, allocations: 1.372 MB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.2696, allocations: 4 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2706, allocations: 338.6 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.271, allocations: 147.2 kB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2714, allocations: 143.6 kB / 0.7887 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.2718, allocations: 330.9 kB / 0.789 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.2722, allocations: 255.9 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2724, allocations: 139.5 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.2727, allocations: 151.4 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.2728, allocations: 20 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.2731, allocations: 163.6 kB / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.2732, allocations: 87.78 kB / 0.7898 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2733, allocations: 119.4 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.2737, allocations: 358.9 kB / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2737, allocations: 0 / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2737, allocations: 0 / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.2737, allocations: 0 / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008094/0.2746, allocations: 0.5419 MB / 0.7908 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2746, allocations: 12.03 kB / 0.7908 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.2747, allocations: 58.73 kB / 0.7908 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.2752, allocations: 76.58 kB / 0.7909 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2755, allocations: 258.7 kB / 0.7912 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2755, allocations: 16.81 kB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2756, allocations: 16.38 kB / 0.7912 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.2761, allocations: 320.4 kB / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2761, allocations: 0 / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.2761, allocations: 15.98 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.2762, allocations: 16.38 kB / 0.7915 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.2765, allocations: 209.6 kB / 0.7917 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.2779, allocations: 1.494 MB / 0.7932 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.2784, allocations: 207.6 kB / 0.7934 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.2785, allocations: 44.84 kB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.2785, allocations: 4 kB / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2785, allocations: 30.56 kB / 0.7935 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2785, allocations: 0 / 0.7935 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.2791, allocations: 271.4 kB / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.2791, allocations: 59.41 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2793, allocations: 203.7 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2794, allocations: 29.7 kB / 0.794 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2795, allocations: 171.6 kB / 0.7942 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2795, allocations: 31.58 kB / 0.7942 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.2796, allocations: 41.62 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2797, allocations: 322.8 kB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.2798, allocations: 47.97 kB / 0.7946 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2799, allocations: 112.5 kB / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.2802, allocations: 168.4 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2802, allocations: 0 / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003536/0.2806, allocations: 214.1 kB / 0.7951 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2806, allocations: 4 kB / 0.7951 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2806, allocations: 4 kB / 0.7951 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.2808, allocations: 33.06 kB / 0.7951 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2809, allocations: 31.98 kB / 0.7951 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.282, allocations: 1.433 MB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2821, allocations: 19.84 kB / 0.7965 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.2822, allocations: 4 kB / 0.7966 GB, free: 15.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.2823, allocations: 149.8 kB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.2823, allocations: 15.81 kB / 0.7967 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.2824, allocations: 17.41 kB / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2824, allocations: 8.062 kB / 0.7967 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2824, allocations: 0 / 0.7967 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2824, allocations: 7.922 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.283, allocations: 487.1 kB / 0.7972 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.283, allocations: 4 kB / 0.7972 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.2831, allocations: 8 kB / 0.7972 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.2831, allocations: 32.77 kB / 0.7972 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2832, allocations: 8.078 kB / 0.7973 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008772/0.2841, allocations: 1.417 MB / 0.7986 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2841, allocations: 3.984 kB / 0.7986 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.2843, allocations: 240.1 kB / 0.7989 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.2844, allocations: 96.91 kB / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2845, allocations: 4.094 kB / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2846, allocations: 11.98 kB / 0.799 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.2846, allocations: 11.98 kB / 0.799 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.2846, allocations: 0 / 0.799 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001173/0.2848, allocations: 149.5 kB / 0.7991 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2848, allocations: 0 / 0.7991 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000331/0.2851, allocations: 55.84 kB / 0.7992 GB, free: 12.39 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005472/0.2857, allocations: 0.7639 MB / 0.7999 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.2861, allocations: 234.8 kB / 0.8002 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2861, allocations: 4.188 kB / 0.8002 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.2863, allocations: 162.6 kB / 0.8003 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.2867, allocations: 48.59 kB / 0.8004 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.2889, allocations: 2.141 MB / 0.8025 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.2892, allocations: 0.7554 MB / 0.8032 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.988e-05/0.2893, allocations: 29.53 kB / 0.8032 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.2894, allocations: 55.42 kB / 0.8033 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2894, allocations: 192 / 0.8033 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.311, allocations: 3.961 MB / 0.8071 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.969/9.28, allocations: 11.23 kB / 0.8072 GB, free: 4.148 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)