Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001286/0.001286, allocations: 91.06 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.001612/0.001612, 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.691/2.691, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7747, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002801/0.7775, allocations: 2.063 MB / 0.9832 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.7798, allocations: 1.31 MB / 0.9844 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.7799, allocations: 0 / 0.9844 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.7801, allocations: 27.78 kB / 0.9845 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.7804, allocations: 107.5 kB / 0.9846 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.7808, allocations: 142.3 kB / 0.9847 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.7811, allocations: 251.2 kB / 0.9849 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.7816, allocations: 226 kB / 0.9852 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.7818, allocations: 67.77 kB / 0.9852 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.782, allocations: 103.6 kB / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.782, allocations: 7.938 kB / 0.9853 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.7823, allocations: 107.8 kB / 0.9854 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.7823, allocations: 59.86 kB / 0.9855 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.7824, allocations: 49.58 kB / 0.9855 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.7827, allocations: 213.7 kB / 0.9857 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7827, allocations: 0 / 0.9857 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7827, allocations: 0 / 0.9857 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7827, allocations: 0 / 0.9857 GB, free: 1.539 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006638/0.7834, allocations: 447 kB / 0.9862 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7834, allocations: 12.03 kB / 0.9862 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.7835, allocations: 50.55 kB / 0.9862 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.784, allocations: 55.75 kB / 0.9863 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.7843, allocations: 226.7 kB / 0.9865 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.7843, allocations: 16.27 kB / 0.9865 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.7843, allocations: 15.95 kB / 0.9865 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.7848, allocations: 271.7 kB / 0.9868 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.7849, allocations: 3.938 kB / 0.9868 GB, free: 336 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.7849, allocations: 11.98 kB / 0.9868 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.7849, allocations: 16.22 kB / 0.9868 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.7853, allocations: 208.5 kB / 0.987 GB, free: 96 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.787, allocations: 1.576 MB / 0.9886 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.7874, allocations: 327.3 kB / 0.9889 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.7875, allocations: 65.83 kB / 0.9889 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.7876, allocations: 7.922 kB / 0.9889 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.7876, allocations: 38.55 kB / 0.989 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.7876, allocations: 0 / 0.989 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0005541/0.7882, allocations: 244.9 kB / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.7882, allocations: 85.09 kB / 0.9893 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.7885, allocations: 187.5 kB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7885, allocations: 29.7 kB / 0.9895 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.7886, allocations: 151.6 kB / 0.9896 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.7886, allocations: 43.44 kB / 0.9897 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.7887, allocations: 8 kB / 0.9897 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7888, allocations: 331 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.7889, allocations: 63.95 kB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.7891, allocations: 156.6 kB / 0.9902 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.7893, allocations: 83.97 kB / 0.9903 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7893, allocations: 7.938 kB / 0.9903 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004189/0.7897, allocations: 257.2 kB / 0.9906 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.7898, allocations: 171.7 kB / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7898, allocations: 80 / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.7899, allocations: 11.94 kB / 0.9907 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.7901, allocations: 55.89 kB / 0.9908 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.7901, allocations: 15.88 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.7903, allocations: 19.89 kB / 0.9908 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.7903, allocations: 8 kB / 0.9908 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.7903, allocations: 5.562 kB / 0.9908 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002855/0.7906, allocations: 199.6 kB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7906, allocations: 4 kB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.7906, allocations: 4 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.7908, allocations: 47.91 kB / 0.9911 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7908, allocations: 7.938 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.7909, allocations: 8 kB / 0.9911 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.7909, allocations: 15.98 kB / 0.9911 GB, free: 11.57 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.000167/0.7911, allocations: 225.3 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.7912, allocations: 15.81 kB / 0.9913 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.7914, allocations: 139 kB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7915, allocations: 0 / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7915, allocations: 0 / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7915, allocations: 3.984 kB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.7924, allocations: 0.7158 MB / 0.9922 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.7924, allocations: 4 kB / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.7925, allocations: 24.27 kB / 0.9922 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.7925, allocations: 8 kB / 0.9922 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7926, allocations: 8 kB / 0.9922 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7926, allocations: 4 kB / 0.9922 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.7926, allocations: 11.89 kB / 0.9922 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.7929, allocations: 374.2 kB / 0.9926 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.793, allocations: 108.8 kB / 0.9927 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.793, allocations: 8.125 kB / 0.9927 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.7932, allocations: 19.98 kB / 0.9927 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.7932, allocations: 15.94 kB / 0.9927 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.7933, allocations: 8 kB / 0.9927 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001286/0.7934, allocations: 140.1 kB / 0.9929 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7934, allocations: 0 / 0.9929 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005071/0.7939, allocations: 68 kB / 0.9929 GB, free: 9.527 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0006596/0.7946, allocations: 0.9184 MB / 0.9938 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.795, allocations: 260.5 kB / 0.9941 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.795, allocations: 0 / 0.9941 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.7951, allocations: 63.83 kB / 0.9941 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.7956, allocations: 29.42 kB / 0.9942 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.7973, allocations: 1.142 MB / 0.9953 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.7977, allocations: 0.7363 MB / 0.996 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.7979, allocations: 77.5 kB / 0.9961 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.798, allocations: 47.36 kB / 0.9961 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.798, allocations: 0 / 0.9961 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.8145, allocations: 3.297 MB / 0.9993 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.8147, allocations: 216.1 kB / 0.9995 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.725, allocations: 2.75 kB / 0.9995 GB, free: 2.723 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat